Skip to content

Console Output

Skipping 11,880 KB.. Full Log
[2024/05/04 20:07:28.932 +08:00] [INFO] [resource_group.rs:145] ["add resource group"] [ru=2147483647] [name=default] [thread_id=1]
[2024/05/04 20:07:28.932 +08:00] [INFO] [resource_group.rs:145] ["add resource group"] [ru=2147483647] [name=default] [thread_id=18]
[2024/05/04 20:07:28.932 +08:00] [INFO] [service.rs:70] ["pd meta client creating watch stream."] [rev=12] [path=resource_group/settings] [thread_id=18]
[2024/05/04 20:07:28.932 +08:00] [WARN] [common.rs:206] ["failed to remove space holder on starting: No such file or directory (os error 2)"] [thread_id=1]
[2024/05/04 20:07:28.932 +08:00] [INFO] [service.rs:193] ["load controller config"] [config="RequestUnitConfig { read_base_cost: 0.125, read_cost_per_byte: 1.52587890625e-5, write_base_cost: 1.0, write_cost_per_byte: 0.0009765625, read_cpu_ms_cost: 0.3333333333333333 }"] [thread_id=17]
[2024/05/04 20:07:28.933 +08:00] [WARN] [worker.rs:353] ["adjust duration too small, skip adjustment."] [dur=1ms] [thread_id=17]
[2024/05/04 20:07:28.955 +08:00] [INFO] [mod.rs:130] ["encryption: none of key dictionary and file dictionary are found."] [thread_id=1]
[2024/05/04 20:07:28.955 +08:00] [INFO] [mod.rs:549] ["encryption is disabled."] [thread_id=1]
[2024/05/04 20:07:28.955 +08:00] [INFO] [engine.rs:93] ["Recovering raft logs takes 164.896µs"] [thread_id=1]
[2024/05/04 20:07:29.017 +08:00] [INFO] [mod.rs:298] ["Storage started."] [thread_id=1]
[2024/05/04 20:07:29.019 +08:00] [INFO] [snapshot_backup.rs:106] ["registered reject ingest and admin coprocessor to TiKV."] [thread_id=1]
[2024/05/04 20:07:29.019 +08:00] [INFO] [endpoint.rs:1138] ["create tokio runtime for backup stream"] [thread_count=2] [thread_name=backup-stream] [thread_id=1]
[2024/05/04 20:07:29.020 +08:00] [INFO] [endpoint.rs:154] ["the endpoint of stream backup started"] [path=/home/jenkins/agent/workspace/pingcap/tidb/periodics_integration_test/tidb/tikv3/log-backup-temp] [thread_id=1]
[2024/05/04 20:07:29.020 +08:00] [INFO] [checkpoint_manager.rs:67] ["subscription manager started!"] [thread_id=74]
[2024/05/04 20:07:29.020 +08:00] [INFO] [endpoint.rs:142] ["started task watcher!"] [thread_id=74]
[2024/05/04 20:07:29.020 +08:00] [INFO] [sst_importer.rs:187] ["sst importer memory limit when apply"] [size=10307921510] [ratio=0.3] [thread_id=1]
[2024/05/04 20:07:29.020 +08:00] [INFO] [pd.rs:145] ["pd meta client creating watch stream."] [rev=13] [keys=Prefix(K(/tidb/br-stream/info/))] [thread_id=73]
[2024/05/04 20:07:29.020 +08:00] [INFO] [endpoint.rs:363] ["start watching the task changes."] [from_rev=12] [thread_id=73]
[2024/05/04 20:07:29.020 +08:00] [INFO] [pd.rs:145] ["pd meta client creating watch stream."] [rev=13] [keys=Prefix(K(/tidb/br-stream/pause/))] [thread_id=74]
[2024/05/04 20:07:29.020 +08:00] [INFO] [endpoint.rs:414] ["start watching the pausing events."] [from_rev=12] [thread_id=74]
[2024/05/04 20:07:29.027 +08:00] [INFO] [raft_server.rs:187] ["trying to bootstrap cluster"] [region="id: 2 region_epoch { conf_ver: 1 version: 1 } peers { id: 3 store_id: 1 }"] [store_id=1] [thread_id=1]
[2024/05/04 20:07:29.034 +08:00] [INFO] [raft_server.rs:404] ["bootstrap cluster ok"] [cluster_id=7365114925878158358] [thread_id=1]
[2024/05/04 20:07:29.034 +08:00] [INFO] [raft_server.rs:196] ["put store to PD"] [store="id: 1 address: \"127.0.0.1:20180\" version: \"8.2.0-alpha\" peer_address: \"127.0.0.1:20180\" status_address: \"127.0.0.1:20185\" git_hash: \"72a0fd5b00235a7c56014b77ddd933e2a0d33c88\" start_timestamp: 1714824449 deploy_path: \"/home/jenkins/agent/workspace/pingcap/tidb/periodics_integration_test/tidb/bin\""] [thread_id=1]
[2024/05/04 20:07:29.036 +08:00] [INFO] [raft_server.rs:335] ["initializing replication mode"] [store_id=1] [status=Some()] [thread_id=1]
[2024/05/04 20:07:29.037 +08:00] [INFO] [replication_mode.rs:55] ["associated store labels"] [labels="[]"] [store_id=1] [thread_id=1]
[2024/05/04 20:07:29.037 +08:00] [INFO] [raft_server.rs:469] ["start raft store thread"] [store_id=1] [thread_id=1]
[2024/05/04 20:07:29.037 +08:00] [INFO] [snap.rs:1461] ["Initializing SnapManager, encryption is enabled: false"] [thread_id=1]
[2024/05/04 20:07:29.040 +08:00] [INFO] [write.rs:1041] ["starting store writer 0"] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [peer.rs:275] ["create peer"] [peer_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [raft.rs:2684] ["switched to configuration"] [config="Configuration { voters: Configuration { incoming: Configuration { voters: {3} }, outgoing: Configuration { voters: {} } }, learners: {}, learners_next: {}, auto_leave: false }"] [raft_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [raft.rs:1151] ["became follower at term 5"] [term=5] [raft_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [raft.rs:387] [newRaft] [peers="Configuration { incoming: Configuration { voters: {3} }, outgoing: Configuration { voters: {} } }"] ["last term"=5] ["last index"=5] [applied=5] [commit=5] [term=5] [raft_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [raw_node.rs:315] ["RawNode created with id 3."] [id=3] [raft_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [raft.rs:1556] ["starting a new election"] [term=5] [raft_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [raft.rs:1201] ["became pre-candidate at term 5"] [term=5] [raft_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [raft.rs:1175] ["became candidate at term 6"] [term=6] [raft_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [raft.rs:1259] ["became leader at term 6"] [term=6] [raft_id=3] [region_id=2] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [store.rs:1380] ["start store"] [takes=203.394µs] [merge_count=0] [applying_count=0] [tombstone_count=0] [region_count=1] [store_id=1] [thread_id=1]
[2024/05/04 20:07:29.041 +08:00] [INFO] [store.rs:1436] ["cleans up garbage data"] [takes=6.238µs] [garbage_range_count=2] [store_id=1] [thread_id=1]
[2024/05/04 20:07:29.042 +08:00] [INFO] [peer.rs:5712] ["require updating max ts"] [initial_status=25769803778] [region_id=2] [thread_id=101]
[2024/05/04 20:07:29.043 +08:00] [WARN] [store.rs:1905] ["set thread priority for raftstore failed"] [error="Os { code: 13, kind: PermissionDenied, message: \"Permission denied\" }"] [thread_id=1]
[2024/05/04 20:07:29.043 +08:00] [INFO] [gc_worker.rs:1248] ["initialize compaction filter to perform GC when necessary"] [thread_id=1]
[2024/05/04 20:07:29.043 +08:00] [INFO] [compaction_filter.rs:182] ["initialize GC context for compaction filter"] [thread_id=1]
[2024/05/04 20:07:29.043 +08:00] [INFO] [pd.rs:1705] ["succeed to update max timestamp"] [region_id=2] [thread_id=31]
[2024/05/04 20:07:29.046 +08:00] [INFO] [endpoint.rs:701] ["register observe region"] [region="id: 2 region_epoch { conf_ver: 1 version: 1 } peers { id: 3 store_id: 1 }"] [thread_id=68]
[2024/05/04 20:07:29.046 +08:00] [INFO] [endpoint.rs:358] ["Resolver initialized"] [pending_data_index=0] [snapshot_index=6] [observe_id=ObserveId(0)] [region=2] [thread_id=68]
[2024/05/04 20:07:29.047 +08:00] [INFO] [server.rs:1194] ["start register debug service"] [thread_id=1]
[2024/05/04 20:07:29.047 +08:00] [INFO] [future.rs:148] ["starting working thread"] [worker=waiter-manager] [thread_id=1]
[2024/05/04 20:07:29.048 +08:00] [INFO] [future.rs:148] ["starting working thread"] [worker=deadlock-detector] [thread_id=1]
[2024/05/04 20:07:29.048 +08:00] [INFO] [deadlock.rs:761] ["became the leader of deadlock detector!"] [self_id=1] [thread_id=127]
[2024/05/04 20:07:29.049 +08:00] [ERROR] [<unknown>] ["{\"created\":\"@1714824449.049296841\",\"description\":\"No address added out of total 1 resolved\",\"file\":\"/var/cache/cargohome/registry/src/index.crates.io-6f17d22bba15001f/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc\",\"file_line\":936,\"referenced_errors\":[{\"created\":\"@1714824449.049293801\",\"description\":\"Failed to add any wildcard listeners\",\"file\":\"/var/cache/cargohome/registry/src/index.crates.io-6f17d22bba15001f/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_posix.cc\",\"file_line\":349,\"referenced_errors\":[{\"created\":\"@1714824449.049279870\",\"description\":\"Unable to configure socket\",\"fd\":108,\"file\":\"/var/cache/cargohome/registry/src/index.crates.io-6f17d22bba15001f/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc\",\"file_line\":218,\"referenced_errors\":[{\"created\":\"@1714824449.049276429\",\"description\":\"Address already in use\",\"errno\":98,\"file\":\"/var/cache/cargohome/registry/src/index.crates.io-6f17d22bba15001f/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc\",\"file_line\":191,\"os_error\":\"Address already in use\",\"syscall\":\"bind\"}]},{\"created\":\"@1714824449.049293535\",\"description\":\"Unable to configure socket\",\"fd\":107,\"file\":\"/var/cache/cargohome/registry/src/index.crates.io-6f17d22bba15001f/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc\",\"file_line\":218,\"referenced_errors\":[{\"created\":\"@1714824449.049289236\",\"description\":\"Address already in use\",\"errno\":98,\"file\":\"/var/cache/cargohome/registry/src/index.crates.io-6f17d22bba15001f/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc\",\"file_line\":191,\"os_error\":\"Address already in use\",\"syscall\":\"bind\"}]}]}]}"] [thread_id=1]
[2024/05/04 20:07:29.049 +08:00] [FATAL] [server.rs:1538] ["failed to build server: BindFail(\"0.0.0.0\", 20180)"] [thread_id=1]
+ find . -name '*.out' -type f -exec tail -n 500 '{}' +
[2024/05/04 20:36:29.621 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24653] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where (a,b) in ((1,1),(2,2)) and c > 2;"]
[2024/05/04 20:36:29.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24653] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where ((a = 1 and b = 1) or (a = 2 and b = 2)) and c > 2;"]
[2024/05/04 20:36:29.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24653] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where ((a = 1 and b = 1) or (a = 2 and b = 2)) and c > 2;"]
[2024/05/04 20:36:29.623 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24653] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_regard_null_as_point`=FALSE"]
[2024/05/04 20:36:29.623 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24653] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/04 20:36:29.635 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20527, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20525, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:29.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:29.635 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20527, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20525, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:29.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/04 20:36:29.657 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20527] [conn=3636464004] [category=ddl] [job="ID:20527, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20525, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:29.677 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20527] [conn=3636464004] [category=ddl] [job="ID:20527, Type:drop table, State:running, SchemaState:write only, SchemaID:20499, TableID:20525, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:29.700 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20527] [conn=3636464004] [category=ddl] [job="ID:20527, Type:drop table, State:running, SchemaState:delete only, SchemaID:20499, TableID:20525, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:29.721 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20527] [tableIDs="[20525]"] [comment="drop table: table ID"]
[2024/05/04 20:36:29.722 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20527] [jobType="drop table"]
[2024/05/04 20:36:29.723 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20527] [conn=3636464004] [job="ID:20527, Type:drop table, State:synced, SchemaState:none, SchemaID:20499, TableID:20525, RowCount:0, ArgLen:3, start time: 2024-05-04 20:36:29.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:29.726 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20527]
[2024/05/04 20:36:29.726 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:29.727 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24653] [neededSchemaVersion=24656] ["start time"=404.593µs] [gotSchemaVersion=24656] [phyTblIDs="[20525]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/04 20:36:29.728 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24656] [cur_db=util__ranger] [sql="create table t(a int, b int, c int, key(a,b,c));"] [user=root@%]
[2024/05/04 20:36:29.740 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20529, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:29.726 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:29.740 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20529, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:29.726 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int, b int, c int, key(a,b,c));"]
[2024/05/04 20:36:29.768 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20529] [conn=3636464004] [category=ddl] [job="ID:20529, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.726 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:29.788 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20529] [conn=3636464004] [job="ID:20529, Type:create table, State:synced, SchemaState:public, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.726 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:29.792 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20529]
[2024/05/04 20:36:29.792 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:29.792 +08:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000005030]
[2024/05/04 20:36:29.793 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005030] ["first new region left"="{Id:16858 StartKey:7480000000000050ff2d00000000000000f8 EndKey:7480000000000050ff3000000000000000f8 RegionEpoch:{ConfVer:1 Version:8052} Peers:[id:16859 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/04 20:36:29.793 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16858]"]
[2024/05/04 20:36:29.793 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24656] [neededSchemaVersion=24657] ["start time"=479.688µs] [gotSchemaVersion=24657] [phyTblIDs="[20528]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/04 20:36:29.794 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t values(1,2,2);"]
[2024/05/04 20:36:29.796 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and b in (1, 2) and c > 1;"]
[2024/05/04 20:36:29.797 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and b in (1, 2) and c > 1;"]
[2024/05/04 20:36:29.798 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and (b = 1 or b = 2) and c > 1;"]
[2024/05/04 20:36:29.798 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and (b = 1 or b = 2) and c > 1;"]
[2024/05/04 20:36:29.799 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and (b = 1 or b in (2, 3)) and c > 1;"]
[2024/05/04 20:36:29.799 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and (b = 1 or b in (2, 3)) and c > 1;"]
[2024/05/04 20:36:29.800 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and (b = 1 or b = 2) and b = 3 and c > 1;"]
[2024/05/04 20:36:29.801 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and (b = 1 or b = 2) and b = 3 and c > 1;"]
[2024/05/04 20:36:29.801 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and (b is null or b = 2);"]
[2024/05/04 20:36:29.801 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and (b is null or b = 2);"]
[2024/05/04 20:36:29.802 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and (b is null or b = 2) and c > 1;"]
[2024/05/04 20:36:29.803 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and (b is null or b = 2) and c > 1;"]
[2024/05/04 20:36:29.804 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and b is null and c > 1;"]
[2024/05/04 20:36:29.804 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and b is null and c > 1;"]
[2024/05/04 20:36:29.805 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and b is null and b is null and c > 1;"]
[2024/05/04 20:36:29.806 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and b is null and b is null and c > 1;"]
[2024/05/04 20:36:29.806 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a = 1 and b is null and b = 1 and c > 1;"]
[2024/05/04 20:36:29.807 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and b is null and b = 1 and c > 1;"]
[2024/05/04 20:36:29.807 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_regard_null_as_point`=DEFAULT"]
[2024/05/04 20:36:29.807 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24657] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=2"]
[2024/05/04 20:36:29.807 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24657] [cur_db=util__ranger] [sql="drop table if exists t0;"] [user=root@%]
[2024/05/04 20:36:29.808 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24657] [cur_db=util__ranger] [sql="CREATE TABLE t0(c0 TEXT(10));"] [user=root@%]
[2024/05/04 20:36:29.808 +08:00] [INFO] [ddl_api.go:1133] ["Automatically convert BLOB(10) to TINYBLOB"] [category=ddl]
[2024/05/04 20:36:29.822 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20531, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:29.777 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:29.822 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20531, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:29.777 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t0(c0 TEXT(10));"]
[2024/05/04 20:36:29.843 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20531] [conn=3636464004] [category=ddl] [job="ID:20531, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.777 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:29.864 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20531] [conn=3636464004] [job="ID:20531, Type:create table, State:synced, SchemaState:public, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.777 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:29.867 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20531]
[2024/05/04 20:36:29.867 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:29.867 +08:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000005032]
[2024/05/04 20:36:29.868 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005032] ["first new region left"="{Id:16860 StartKey:7480000000000050ff3000000000000000f8 EndKey:7480000000000050ff3200000000000000f8 RegionEpoch:{ConfVer:1 Version:8053} Peers:[id:16861 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/04 20:36:29.868 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16860]"]
[2024/05/04 20:36:29.868 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24657] [neededSchemaVersion=24658] ["start time"=504.787µs] [gotSchemaVersion=24658] [phyTblIDs="[20530]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/04 20:36:29.869 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="INSERT INTO t0(c0) VALUES (1);"]
[2024/05/04 20:36:29.872 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24658] [cur_db=util__ranger] [sql="CREATE INDEX i0 ON t0(c0(255));"] [user=root@%]
[2024/05/04 20:36:29.885 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20532, Type:add index, State:queueing, SchemaState:none, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:6, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/04 20:36:29.885 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20532, Type:add index, State:queueing, SchemaState:none, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:6, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="CREATE INDEX i0 ON t0(c0(255));"]
[2024/05/04 20:36:29.905 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [category=ddl] [job="ID:20532, Type:add index, State:queueing, SchemaState:none, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:29.905 +08:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:none, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:6, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"i0\",\"L\":\"i0\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c0\",\"L\":\"c0\"},\"offset\":0,\"length\":255}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"]
[2024/05/04 20:36:29.926 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:delete only, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:29.945 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:write only, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:29.965 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:29.965 +08:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=20532] [table=t0] ["ingest mode"=true] [index=i0]
[2024/05/04 20:36:29.966 +08:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=20532] [physicalTableID=20530] [startKey=7480000000000050325f728000000000000001] [endKey=7480000000000050325f72800000000000000100]
[2024/05/04 20:36:29.989 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20499, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449531396731961363, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:29.989 +08:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=20532] [table=t0] ["ingest mode"=true] [index=i0]
[2024/05/04 20:36:29.993 +08:00] [INFO] [index.go:2089] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/20532]
[2024/05/04 20:36:30.000 +08:00] [INFO] [index.go:2178] ["estimate row size"] [tableID=20530] [size=0] [error="less than 3 regions"]
[2024/05/04 20:36:30.008 +08:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [task-id=660015]
[2024/05/04 20:36:30.008 +08:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=660015] [task-type=backfill] [allocated-slots=true] [state=pending] [concurrency=4]
[2024/05/04 20:36:30.509 +08:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=660015] [task-type=backfill] [allocated-slots=true] [current-step=init] [next-step=read-index]
[2024/05/04 20:36:30.509 +08:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=660015] [task-type=backfill] [allocated-slots=true] [num=1]
[2024/05/04 20:36:30.510 +08:00] [INFO] [backfilling_dist_scheduler.go:95] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=660015] [curr-step=init] [next-step=read-index]
[2024/05/04 20:36:30.511 +08:00] [INFO] [scheduler.go:472] ["schedule subtasks"] [task-id=660015] [task-type=backfill] [allocated-slots=true] [state=pending] [step=read-index] [concurrency=4] [subtasks=1]
[2024/05/04 20:36:30.791 +08:00] [INFO] [manager.go:328] ["task executor started"] [task-id=660015] [type=backfill] [remaining-slots=4]
[2024/05/04 20:36:31.094 +08:00] [INFO] [task_executor.go:301] ["execute task step start"] [task-id=660015] [task-type=backfill] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=16GiB]"]
[2024/05/04 20:36:31.095 +08:00] [INFO] [config.go:169] ["change memory setting for ingest"] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["range concurrency"=4]
[2024/05/04 20:36:31.095 +08:00] [INFO] [backend_mgr.go:248] ["create local backend for adding index"] [category=ddl-ingest] [sortDir=/tmp/tidb/tmp_ddl-32807/20532] [keyspaceName=]
[2024/05/04 20:36:31.096 +08:00] [INFO] [pd_service_discovery.go:1016] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=]
[2024/05/04 20:36:31.096 +08:00] [INFO] [pd_service_discovery.go:498] ["[pd] init cluster id"] [cluster-id=7365114928202308821]
[2024/05/04 20:36:31.096 +08:00] [INFO] [client.go:613] ["[pd] changing service mode"] [old-mode=UNKNOWN_SVC_MODE] [new-mode=PD_SVC_MODE]
[2024/05/04 20:36:31.096 +08:00] [INFO] [tso_client.go:293] ["[tso] switch dc tso global allocator serving url"] [dc-location=global] [new-url=http://127.0.0.1:2379]
[2024/05/04 20:36:31.097 +08:00] [INFO] [client.go:619] ["[pd] service mode changed"] [old-mode=UNKNOWN_SVC_MODE] [new-mode=PD_SVC_MODE]
[2024/05/04 20:36:31.097 +08:00] [INFO] [tso_dispatcher.go:119] ["[tso] start tso deadline watcher"] [dc-location=global]
[2024/05/04 20:36:31.097 +08:00] [INFO] [tso_dispatcher.go:168] ["[tso] tso dispatcher created"] [dc-location=global]
[2024/05/04 20:36:31.097 +08:00] [INFO] [tso_client.go:130] ["[tso] start tso dispatcher check loop"]
[2024/05/04 20:36:31.097 +08:00] [INFO] [tso_dispatcher.go:336] ["[tso] start tso connection contexts updater"] [dc-location=global]
[2024/05/04 20:36:31.098 +08:00] [INFO] [local.go:682] ["multi ingest support"] [category=ddl-ingest]
[2024/05/04 20:36:31.099 +08:00] [INFO] [local.go:704] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest]
[2024/05/04 20:36:31.099 +08:00] [INFO] [backend_mgr.go:161] ["create one backend for an DDL job"] ["job ID"=20532] ["current memory usage"=33296] ["max memory quota"=17179869184] ["is unique index"=false]
[2024/05/04 20:36:31.099 +08:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl]
[2024/05/04 20:36:31.103 +08:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false]
[2024/05/04 20:36:31.105 +08:00] [INFO] [backend.go:253] ["open engine"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba]
[2024/05/04 20:36:31.105 +08:00] [INFO] [engine_mgr.go:81] ["open an engine for index reorg task"] ["job ID"=20532] ["index ID"=1] ["current memory usage"=671122080] ["memory limitation"=17179869184] ["current writer count"=1]
[2024/05/04 20:36:31.106 +08:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=660015] [subtask-id=60015] [jobID=20532] [avgRowSize=0] [reader=2] [writer=4]
[2024/05/04 20:36:31.106 +08:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=20530] ["start key"=7480000000000050325f728000000000000001] ["end key"=7480000000000050325f72800000000000000100]
[2024/05/04 20:36:31.106 +08:00] [INFO] [backfilling_operators.go:451] ["start a table scan task"] [task-id=660015] [subtask-id=60015] [id=1] [task="TableScanTask: id=1, startKey=7480000000000050325f728000000000000001, endKey=7480000000000050325f72800000000000000100"]
[2024/05/04 20:36:31.135 +08:00] [INFO] [engine.go:198] ["create one local writer for index reorg task"] ["job ID"=20532] ["index ID"=1] ["worker ID"=1] ["allocate memory"=40] ["current memory usage"=671122120] ["max memory quota"=17179869184]
[2024/05/04 20:36:31.163 +08:00] [INFO] [engine.go:198] ["create one local writer for index reorg task"] ["job ID"=20532] ["index ID"=1] ["worker ID"=2] ["allocate memory"=40] ["current memory usage"=671122160] ["max memory quota"=17179869184]
[2024/05/04 20:36:31.163 +08:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=660015] [subtask-id=60015] [id=1]
[2024/05/04 20:36:31.190 +08:00] [INFO] [engine.go:198] ["create one local writer for index reorg task"] ["job ID"=20532] ["index ID"=1] ["worker ID"=3] ["allocate memory"=40] ["current memory usage"=672170776] ["max memory quota"=17179869184]
[2024/05/04 20:36:31.227 +08:00] [INFO] [engine.go:198] ["create one local writer for index reorg task"] ["job ID"=20532] ["index ID"=1] ["worker ID"=4] ["allocate memory"=40] ["current memory usage"=672170816] ["max memory quota"=17179869184]
[2024/05/04 20:36:31.228 +08:00] [INFO] [engine.go:867] ["write data to local DB"] [category=ddl-ingest] [size=39] [kvs=1] [files=1] [sstFileSize=945] [file=/tmp/tidb/tmp_ddl-32807/20532/4229afb8-665d-5dce-bb97-2afa316b67ba.sst/4b80426d-c070-49ad-9601-e6f13760315f.sst] [firstKey=7480000000000050325F698000000000000001013100000000000000F8038000000000000001] [lastKey=7480000000000050325F698000000000000001013100000000000000F8038000000000000001]
[2024/05/04 20:36:31.230 +08:00] [INFO] [backend.go:215] ["acquire distributed flush lock success"] [jobID=20532]
[2024/05/04 20:36:31.230 +08:00] [INFO] [backend.go:237] ["do a partial import data into the storage"] ["index ID"=1] ["usage info"="disk usage: 292673732608/467794132992, backend usage: 0"]
[2024/05/04 20:36:31.230 +08:00] [INFO] [backend.go:372] ["import start"] [category=ddl-ingest] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba] [retryCnt=0]
[2024/05/04 20:36:31.230 +08:00] [WARN] [local.go:1687] ["get region split size and keys failed"] [category=ddl-ingest] [error="Get \"http://127.0.0.1:20165/config\": dial tcp 127.0.0.1:20165: connect: connection refused"] [store=127.0.0.1:20165]
[2024/05/04 20:36:31.230 +08:00] [WARN] [local.go:1270] ["fail to get region split keys and size"] [category=ddl-ingest] [error="get region split size and keys failed"]
[2024/05/04 20:36:31.231 +08:00] [INFO] [local.go:1280] ["pause pd scheduler of table scope"] [category=ddl-ingest]
[2024/05/04 20:36:31.252 +08:00] [INFO] [local.go:1318] ["start import engine"] [category=ddl-ingest] [uuid=4229afb8-665d-5dce-bb97-2afa316b67ba] ["region ranges"=1] [count=1] [size=39]
[2024/05/04 20:36:31.252 +08:00] [INFO] [local.go:835] ["import engine ranges"] [category=ddl-ingest] [count=1]
[2024/05/04 20:36:31.260 +08:00] [INFO] [local.go:1329] ["import engine success"] [category=ddl-ingest] [uuid=4229afb8-665d-5dce-bb97-2afa316b67ba] [size=39] [kvs=1] [importedSize=39] [importedCount=1]
[2024/05/04 20:36:31.261 +08:00] [INFO] [backend.go:378] ["import completed"] [category=ddl-ingest] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba] [retryCnt=0] [takeTime=30.532865ms] []
[2024/05/04 20:36:31.263 +08:00] [INFO] [backend.go:221] ["release distributed flush lock success"] [jobID=20532]
[2024/05/04 20:36:31.269 +08:00] [INFO] [backfilling_read_index.go:151] ["read index executor cleanup subtask exec env"]
[2024/05/04 20:36:31.269 +08:00] [INFO] [backend.go:330] ["engine close start"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba]
[2024/05/04 20:36:31.270 +08:00] [INFO] [backend.go:332] ["engine close completed"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba] [takeTime=527.997µs] []
[2024/05/04 20:36:31.270 +08:00] [INFO] [backend.go:391] ["cleanup start"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba]
[2024/05/04 20:36:31.270 +08:00] [INFO] [backend.go:393] ["cleanup completed"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba] [takeTime=375.938µs] []
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_client.go:145] ["[tso] exit tso dispatcher check loop"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_dispatcher.go:350] ["[tso] exit tso connection contexts updater"] [dc-location=global]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_dispatcher.go:137] ["[tso] exit tso deadline watcher"] [dc-location=global]
[2024/05/04 20:36:31.271 +08:00] [INFO] [resource_manager_client.go:295] ["[resource manager] exit resource token dispatcher"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [pd_service_discovery.go:550] ["[pd] exit member loop due to context canceled"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_client.go:155] ["[tso] closing tso client"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_dispatcher.go:210] ["[tso] stop fetching the pending tso requests due to context canceled"] [dc-location=global]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_dispatcher.go:171] ["[tso] exit tso dispatcher"] [dc-location=global]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_batch_controller.go:160] ["[pd] clear the tso batch controller"] [max-batch-size=10000] [best-batch-size=5] [collected-request-count=0] [pending-request-count=0]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_client.go:160] ["[tso] close tso client"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_batch_controller.go:160] ["[pd] clear the tso batch controller"] [max-batch-size=10000] [best-batch-size=5] [collected-request-count=0] [pending-request-count=0]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_client.go:162] ["[tso] tso client is closed"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [pd_service_discovery.go:637] ["[pd] close pd service discovery client"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [client.go:329] ["[pd] http client closed"] [source=lightning]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_client.go:155] ["[tso] closing tso client"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_client.go:160] ["[tso] close tso client"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_batch_controller.go:160] ["[pd] clear the tso batch controller"] [max-batch-size=10000] [best-batch-size=5] [collected-request-count=0] [pending-request-count=0]
[2024/05/04 20:36:31.271 +08:00] [INFO] [tso_client.go:162] ["[tso] tso client is closed"]
[2024/05/04 20:36:31.271 +08:00] [INFO] [backend_mgr.go:309] ["close one backend for DDL job"] ["job ID"=20532] ["current memory usage"=33240] ["max memory quota"=17179869184]
[2024/05/04 20:36:31.271 +08:00] [INFO] [task_executor.go:309] ["execute task step completed"] [task-id=660015] [task-type=backfill] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=16GiB]"] [takeTime=176.952885ms] []
[2024/05/04 20:36:31.511 +08:00] [INFO] [scheduler.go:422] ["switch to next step"] [task-id=660015] [task-type=backfill] [allocated-slots=true] [current-step=read-index] [next-step=done]
[2024/05/04 20:36:31.572 +08:00] [INFO] [manager.go:332] ["task executor exit"] [task-id=660015] [type=backfill]
[2024/05/04 20:36:31.811 +08:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1]
[2024/05/04 20:36:31.847 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20499, TableID:20530, RowCount:1, ArgLen:0, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449531396731961363, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:31.847 +08:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=20532] [table=t0] [index=i0]
[2024/05/04 20:36:31.874 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20499, TableID:20530, RowCount:1, ArgLen:0, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:31.875 +08:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=20532] [physicalTableID=20530] [startKey=7480000000000050325f69ffff000000000001] [endKey=7480000000000050325f69ffff000000000001ff]
[2024/05/04 20:36:31.899 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20499, TableID:20530, RowCount:1, ArgLen:0, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449531397230034955, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:31.901 +08:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:20532, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20499, TableID:20530, RowCount:1, ArgLen:6, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449531397230034955, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000050325f69ffff000000000001,EndKey:7480000000000050325f69ffff000000000001ff,First:false,PhysicalTableID:20530,Ingest mode:false"]
[2024/05/04 20:36:31.902 +08:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=20530] ["start key"=7480000000000050325f69ffff000000000001] ["end key"=7480000000000050325f69ffff000000000001ff]
[2024/05/04 20:36:31.902 +08:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000050325f69ffff000000000001] [endKey=7480000000000050325f69ffff000000000001ff]
[2024/05/04 20:36:31.902 +08:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=20530] ["end key"=7480000000000050325f69ffff000000000001ff] ["current end key"=7480000000000050325f69ffff00000000000100]
[2024/05/04 20:36:31.902 +08:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=20532]
[2024/05/04 20:36:31.902 +08:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=20532]
[2024/05/04 20:36:31.902 +08:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=20532]
[2024/05/04 20:36:31.903 +08:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 20530, range: [7480000000000050325f69ffff000000000001, 7480000000000050325f69ffff00000000000100), jobID: 20532"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000050325f69ffff0000000000010000] ["take time"=374.541µs]
[2024/05/04 20:36:31.903 +08:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=20532]
[2024/05/04 20:36:31.903 +08:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000050325f69ffff000000000001]
[2024/05/04 20:36:31.903 +08:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1]
[2024/05/04 20:36:31.910 +08:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_general_ci]
[2024/05/04 20:36:31.934 +08:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=20532] [tableID=20530] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"]
[2024/05/04 20:36:31.935 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20532] [jobType="add index"]
[2024/05/04 20:36:31.936 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20532] [conn=3636464004] [job="ID:20532, Type:add index, State:synced, SchemaState:public, SchemaID:20499, TableID:20530, RowCount:1, ArgLen:3, start time: 2024-05-04 20:36:29.876 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449531397230034955, LocalMode: false, UniqueWarnings:0"]
[2024/05/04 20:36:31.941 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20532]
[2024/05/04 20:36:31.941 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:31.944 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24658] [neededSchemaVersion=24664] ["start time"=1.548995ms] [gotSchemaVersion=24664] [phyTblIDs="[20530,20530,20530,20530,20530,20530]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\",\"add index\",\"add index\",\"add index\",\"add index\",\"add index\"]"]
[2024/05/04 20:36:31.945 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t0;"]
[2024/05/04 20:36:31.973 +08:00] [INFO] [analyze.go:747] ["analyze table `util__ranger`.`t0` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2024/05/04 20:36:31.950 +08:00] ["end time"=2024/05/04 20:36:31.971 +08:00] [cost=21.233173ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/04 20:36:31.983 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * from t0 where c0;"]
[2024/05/04 20:36:31.983 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * from t0 where c0 and c0 > '123';"]
[2024/05/04 20:36:31.984 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * from t0 where c0 and c0 <> '123';"]
[2024/05/04 20:36:31.984 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * from t0 where c0 is true;"]
[2024/05/04 20:36:31.985 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * from t0 where c0 is false;"]
[2024/05/04 20:36:31.985 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * from t0 where c0 and c0 in ('123','456','789');"]
[2024/05/04 20:36:31.985 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * FROM t0 WHERE ('a' != t0.c0) AND t0.c0;"]
[2024/05/04 20:36:31.986 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=DEFAULT"]
[2024/05/04 20:36:31.986 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24664] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=2"]
[2024/05/04 20:36:31.986 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24664] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/04 20:36:32.003 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20533, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:31.976 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.003 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20533, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:31.976 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/04 20:36:32.009 +08:00] [INFO] [scheduler_manager.go:364] ["task scheduler exist"] [task-id=660015]
[2024/05/04 20:36:32.011 +08:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"]
[2024/05/04 20:36:32.011 +08:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [task-id=660015]
[2024/05/04 20:36:32.016 +08:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"]
[2024/05/04 20:36:32.026 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20533] [conn=3636464004] [category=ddl] [job="ID:20533, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:31.976 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.046 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20533] [conn=3636464004] [category=ddl] [job="ID:20533, Type:drop table, State:running, SchemaState:write only, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:31.976 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.066 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20533] [conn=3636464004] [category=ddl] [job="ID:20533, Type:drop table, State:running, SchemaState:delete only, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:31.976 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.084 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20533] [tableIDs="[20528]"] [comment="drop table: table ID"]
[2024/05/04 20:36:32.085 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20533] [jobType="drop table"]
[2024/05/04 20:36:32.086 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20533] [conn=3636464004] [job="ID:20533, Type:drop table, State:synced, SchemaState:none, SchemaID:20499, TableID:20528, RowCount:0, ArgLen:3, start time: 2024-05-04 20:36:31.976 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.089 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20533]
[2024/05/04 20:36:32.089 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.090 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24664] [neededSchemaVersion=24667] ["start time"=371.692µs] [gotSchemaVersion=24667] [phyTblIDs="[20528]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/04 20:36:32.091 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24667] [cur_db=util__ranger] [sql="create table t(a int primary key, b int, c int, d int, e int, index idx(b,c,d));"] [user=root@%]
[2024/05/04 20:36:32.103 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20535, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.076 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.103 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20535, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.076 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int primary key, b int, c int, d int, e int, index idx(b,c,d));"]
[2024/05/04 20:36:32.141 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20535] [conn=3636464004] [category=ddl] [job="ID:20535, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.076 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.161 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20535] [conn=3636464004] [job="ID:20535, Type:create table, State:synced, SchemaState:public, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.076 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.164 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20535]
[2024/05/04 20:36:32.164 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.164 +08:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000005036]
[2024/05/04 20:36:32.165 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005036] ["first new region left"="{Id:16866 StartKey:7480000000000050ff325f698000000000ff0000010131000000ff00000000f8038000ff0000000000010000fe EndKey:7480000000000050ff3600000000000000f8 RegionEpoch:{ConfVer:1 Version:8056} Peers:[id:16867 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/04 20:36:32.166 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16866]"]
[2024/05/04 20:36:32.166 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24667] [neededSchemaVersion=24668] ["start time"=594.493µs] [gotSchemaVersion=24668] [phyTblIDs="[20534]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/04 20:36:32.167 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24668] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t values(1,1,1,1,2),(2,1,2,1,0);"]
[2024/05/04 20:36:32.168 +08:00] [WARN] [prewrite.go:382] ["1pc failed and fallbacks to normal commit procedure"] [conn=3636464004] [session_alias=] [startTS=449531397308678164]
[2024/05/04 20:36:32.169 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24668] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t;"]
[2024/05/04 20:36:32.211 +08:00] [INFO] [analyze.go:747] ["analyze table `util__ranger`.`t` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2024/05/04 20:36:32.172 +08:00] ["end time"=2024/05/04 20:36:32.210 +08:00] [cost=37.149675ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/04 20:36:32.229 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24668] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select t.e in (select count(*) from t s use index(idx), t t1 where s.b = 1 and s.c in (1, 2) and s.d = t.a and s.a = t1.a) from t;"]
[2024/05/04 20:36:32.230 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24668] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select t.e in (select count(*) from t s use index(idx), t t1 where s.b = 1 and s.c in (1, 2) and s.d = t.a and s.a = t1.a) from t;"]
[2024/05/04 20:36:32.232 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24668] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=DEFAULT"]
[2024/05/04 20:36:32.232 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24668] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/04 20:36:32.244 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20536, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.226 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.244 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20536, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.226 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/04 20:36:32.266 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20536] [conn=3636464004] [category=ddl] [job="ID:20536, Type:drop table, State:queueing, SchemaState:public, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.226 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.285 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20536] [conn=3636464004] [category=ddl] [job="ID:20536, Type:drop table, State:running, SchemaState:write only, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.226 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.303 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20536] [conn=3636464004] [category=ddl] [job="ID:20536, Type:drop table, State:running, SchemaState:delete only, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.226 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.323 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20536] [tableIDs="[20534]"] [comment="drop table: table ID"]
[2024/05/04 20:36:32.324 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20536] [jobType="drop table"]
[2024/05/04 20:36:32.325 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20536] [conn=3636464004] [job="ID:20536, Type:drop table, State:synced, SchemaState:none, SchemaID:20499, TableID:20534, RowCount:0, ArgLen:3, start time: 2024-05-04 20:36:32.226 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.328 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20536]
[2024/05/04 20:36:32.328 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.329 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24668] [neededSchemaVersion=24671] ["start time"=433.156µs] [gotSchemaVersion=24671] [phyTblIDs="[20534]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/04 20:36:32.330 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464004] [schemaVersion=24671] [cur_db=util__ranger] [sql="create table t(a int not null, b int not null, primary key(a,b));"] [user=root@%]
[2024/05/04 20:36:32.343 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20538, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20537, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.326 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.343 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20538, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20537, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.326 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int not null, b int not null, primary key(a,b));"]
[2024/05/04 20:36:32.377 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20538] [conn=3636464004] [category=ddl] [job="ID:20538, Type:create table, State:queueing, SchemaState:none, SchemaID:20499, TableID:20537, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.326 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.397 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20538] [conn=3636464004] [job="ID:20538, Type:create table, State:synced, SchemaState:public, SchemaID:20499, TableID:20537, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.326 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.400 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20538]
[2024/05/04 20:36:32.401 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.401 +08:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000005039]
[2024/05/04 20:36:32.402 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005039] ["first new region left"="{Id:16868 StartKey:7480000000000050ff3600000000000000f8 EndKey:7480000000000050ff3900000000000000f8 RegionEpoch:{ConfVer:1 Version:8057} Peers:[id:16869 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/04 20:36:32.402 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16868]"]
[2024/05/04 20:36:32.402 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24671] [neededSchemaVersion=24672] ["start time"=571.256µs] [gotSchemaVersion=24672] [phyTblIDs="[20537]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/04 20:36:32.403 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24672] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t values(1,2);"]
[2024/05/04 20:36:32.405 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24672] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t;"]
[2024/05/04 20:36:32.431 +08:00] [INFO] [analyze.go:747] ["analyze table `util__ranger`.`t` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2024/05/04 20:36:32.409 +08:00] ["end time"=2024/05/04 20:36:32.430 +08:00] [cost=20.68747ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/04 20:36:32.443 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24672] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * from (select * from t union all select a, b from t) sub where a > 0;"]
[2024/05/04 20:36:32.444 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464004] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24672] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from (select * from t union all select ifnull(a,b), b from t) sub where a > 0;"]
[2024/05/04 20:36:32.445 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464008] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24672] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/04 20:36:32.445 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464008] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24672] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/04 20:36:32.445 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464008] [schemaVersion=24672] [cur_db=test] [sql="drop database `util__ranger`"] [user=root@%]
[2024/05/04 20:36:32.457 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20539, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20499, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-04 20:36:32.426 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.457 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20539, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20499, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-04 20:36:32.426 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database `util__ranger`"]
[2024/05/04 20:36:32.483 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20539] [conn=3636464008] [category=ddl] [job="ID:20539, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20499, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.426 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.503 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20539] [conn=3636464008] [category=ddl] [job="ID:20539, Type:drop schema, State:running, SchemaState:write only, SchemaID:20499, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.426 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.523 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20539] [conn=3636464008] [category=ddl] [job="ID:20539, Type:drop schema, State:running, SchemaState:delete only, SchemaID:20499, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.426 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.546 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20539] [tableIDs="[20503,20505,20516,20530,20537]"] [comment="drop schema: table IDs"]
[2024/05/04 20:36:32.549 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20539] [jobType="drop schema"]
[2024/05/04 20:36:32.549 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20539] [conn=3636464008] [job="ID:20539, Type:drop schema, State:synced, SchemaState:none, SchemaID:20499, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-04 20:36:32.426 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.552 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20539]
[2024/05/04 20:36:32.552 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.554 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24672] [neededSchemaVersion=24675] ["start time"=509.206µs] [gotSchemaVersion=24675] [phyTblIDs="[20503,20505,20516,20530,20537]"] [actionTypes="[2,2,2,2,2]"] [diffTypes="[\"drop schema\",\"drop schema\",\"drop schema\"]"]
[2024/05/04 20:36:32.555 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464010] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24675] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/04 20:36:32.556 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464010] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24675] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/04 20:36:32.556 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464010] [schemaVersion=24675] [cur_db=test] [sql="create database `window_function`"] [user=root@%]
[2024/05/04 20:36:32.569 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20541, Type:create schema, State:queueing, SchemaState:none, SchemaID:20540, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-04 20:36:32.526 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.569 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20541, Type:create schema, State:queueing, SchemaState:none, SchemaID:20540, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-04 20:36:32.526 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database `window_function`"]
[2024/05/04 20:36:32.595 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20541] [conn=3636464010] [category=ddl] [job="ID:20541, Type:create schema, State:queueing, SchemaState:none, SchemaID:20540, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.526 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.615 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20541] [conn=3636464010] [job="ID:20541, Type:create schema, State:synced, SchemaState:public, SchemaID:20540, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.526 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.618 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20541]
[2024/05/04 20:36:32.618 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.619 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24675] [neededSchemaVersion=24676] ["start time"=229.853µs] [gotSchemaVersion=24676] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/04 20:36:32.620 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/04 20:36:32.620 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/04 20:36:32.621 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464014] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/04 20:36:32.621 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464014] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/04 20:36:32.621 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464014] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SELECT tidb_version()"]
[2024/05/04 20:36:32.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_init_chunk_size`=1"]
[2024/05/04 20:36:32.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_max_chunk_size`=32"]
[2024/05/04 20:36:32.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_multi_statement_mode`=1"]
[2024/05/04 20:36:32.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_hash_join_concurrency`=1"]
[2024/05/04 20:36:32.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_enable_pseudo_for_outdated_stats`=FALSE"]
[2024/05/04 20:36:32.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_enable_analyze_snapshot`=1"]
[2024/05/04 20:36:32.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_enable_clustered_index`=_UTF8MB4'int_only'"]
[2024/05/04 20:36:32.622 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `window_function`"]
[2024/05/04 20:36:32.623 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24676] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=1"]
[2024/05/04 20:36:32.623 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464012] [schemaVersion=24676] [cur_db=window_function] [sql="drop table if exists t;"] [user=root@%]
[2024/05/04 20:36:32.623 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464012] [schemaVersion=24676] [cur_db=window_function] [sql="create table t (a int, b int, c timestamp, index idx(a));"] [user=root@%]
[2024/05/04 20:36:32.636 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20543, Type:create table, State:queueing, SchemaState:none, SchemaID:20540, TableID:20542, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.636 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20543, Type:create table, State:queueing, SchemaState:none, SchemaID:20540, TableID:20542, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, b int, c timestamp, index idx(a));"]
[2024/05/04 20:36:32.663 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20543] [conn=3636464012] [category=ddl] [job="ID:20543, Type:create table, State:queueing, SchemaState:none, SchemaID:20540, TableID:20542, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.682 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20543] [conn=3636464012] [job="ID:20543, Type:create table, State:synced, SchemaState:public, SchemaID:20540, TableID:20542, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.627 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.685 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20543]
[2024/05/04 20:36:32.685 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.685 +08:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000503e]
[2024/05/04 20:36:32.686 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000503e] ["first new region left"="{Id:16870 StartKey:7480000000000050ff3900000000000000f8 EndKey:7480000000000050ff3e00000000000000f8 RegionEpoch:{ConfVer:1 Version:8058} Peers:[id:16871 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/04 20:36:32.686 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16870]"]
[2024/05/04 20:36:32.687 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24676] [neededSchemaVersion=24677] ["start time"=508.597µs] [gotSchemaVersion=24677] [phyTblIDs="[20542]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/04 20:36:32.687 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_enable_window_function`=1"]
[2024/05/04 20:36:32.688 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_window_concurrency`=1"]
[2024/05/04 20:36:32.688 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over() from t;"]
[2024/05/04 20:36:32.688 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a) from t;"]
[2024/05/04 20:36:32.689 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by b) from t;"]
[2024/05/04 20:36:32.690 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by b rows unbounded preceding) from t;"]
[2024/05/04 20:36:32.690 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by b rows between 1 preceding and 1 following) from t;"]
[2024/05/04 20:36:32.691 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by b range between 1 preceding and 1 following) from t;"]
[2024/05/04 20:36:32.691 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by c range between interval '2:30' minute_second preceding and interval '2:30' minute_second following) from t;"]
[2024/05/04 20:36:32.691 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_window_concurrency`=4"]
[2024/05/04 20:36:32.692 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over() from t;"]
[2024/05/04 20:36:32.692 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a) from t;"]
[2024/05/04 20:36:32.692 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by b) from t;"]
[2024/05/04 20:36:32.693 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by b rows unbounded preceding) from t;"]
[2024/05/04 20:36:32.693 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by b rows between 1 preceding and 1 following) from t;"]
[2024/05/04 20:36:32.694 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by b range between 1 preceding and 1 following) from t;"]
[2024/05/04 20:36:32.694 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by a order by c range between interval '2:30' minute_second preceding and interval '2:30' minute_second following) from t;"]
[2024/05/04 20:36:32.695 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464012] [schemaVersion=24677] [cur_db=window_function] [sql="drop table if exists t1;"] [user=root@%]
[2024/05/04 20:36:32.695 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464012] [schemaVersion=24677] [cur_db=window_function] [sql="create table t1(a int primary key, b int);"] [user=root@%]
[2024/05/04 20:36:32.708 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20545, Type:create table, State:queueing, SchemaState:none, SchemaID:20540, TableID:20544, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.677 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.708 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20545, Type:create table, State:queueing, SchemaState:none, SchemaID:20540, TableID:20544, RowCount:0, ArgLen:2, start time: 2024-05-04 20:36:32.677 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a int primary key, b int);"]
[2024/05/04 20:36:32.741 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20545] [conn=3636464012] [category=ddl] [job="ID:20545, Type:create table, State:queueing, SchemaState:none, SchemaID:20540, TableID:20544, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.677 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.762 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20545] [conn=3636464012] [job="ID:20545, Type:create table, State:synced, SchemaState:public, SchemaID:20540, TableID:20544, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.677 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.765 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20545]
[2024/05/04 20:36:32.765 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.765 +08:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000005040]
[2024/05/04 20:36:32.767 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24677] [neededSchemaVersion=24678] ["start time"=511.053µs] [gotSchemaVersion=24678] [phyTblIDs="[20544]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/04 20:36:32.767 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t1 values(1, 1), (2, 1);"]
[2024/05/04 20:36:32.768 +08:00] [WARN] [prewrite.go:382] ["1pc failed and fallbacks to normal commit procedure"] [conn=3636464012] [session_alias=] [startTS=449531397466226706]
[2024/05/04 20:36:32.769 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005040] ["first new region left"="{Id:16872 StartKey:7480000000000050ff3e00000000000000f8 EndKey:7480000000000050ff4000000000000000f8 RegionEpoch:{ConfVer:1 Version:8059} Peers:[id:16873 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/04 20:36:32.769 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16872]"]
[2024/05/04 20:36:32.770 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t1;"]
[2024/05/04 20:36:32.792 +08:00] [INFO] [analyze.go:747] ["analyze table `window_function`.`t1` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2024/05/04 20:36:32.774 +08:00] ["end time"=2024/05/04 20:36:32.791 +08:00] [cost=16.996867ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/04 20:36:32.803 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by b) from t1;"]
[2024/05/04 20:36:32.803 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t1 values(3, 3);"]
[2024/05/04 20:36:32.804 +08:00] [WARN] [prewrite.go:382] ["1pc failed and fallbacks to normal commit procedure"] [conn=3636464012] [session_alias=] [startTS=449531397479071766]
[2024/05/04 20:36:32.805 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t1;"]
[2024/05/04 20:36:32.810 +08:00] [INFO] [save.go:200] ["incrementally update modifyCount"] [category=stats] [tableID=20544] [curModifyCnt=0] [results.BaseModifyCnt=0] [modifyCount=0]
[2024/05/04 20:36:32.810 +08:00] [INFO] [save.go:211] ["incrementally update count"] [category=stats] [tableID=20544] [curCnt=2] [results.Count=3] [results.BaseCount=2] [count=3]
[2024/05/04 20:36:32.827 +08:00] [INFO] [analyze.go:747] ["analyze table `window_function`.`t1` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2024/05/04 20:36:32.807 +08:00] ["end time"=2024/05/04 20:36:32.826 +08:00] [cost=18.260324ms] ["sample rate reason"="use min(1, 110000/2) as the sample-rate=1"]
[2024/05/04 20:36:32.836 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464012] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select sum(a) over(partition by b) from t1;"]
[2024/05/04 20:36:32.837 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464016] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/04 20:36:32.837 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=3636464016] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/04 20:36:32.837 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3636464016] [schemaVersion=24678] [cur_db=test] [sql="drop database `window_function`"] [user=root@%]
[2024/05/04 20:36:32.850 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20546, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20540, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-04 20:36:32.827 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/04 20:36:32.850 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20546, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20540, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-04 20:36:32.827 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database `window_function`"]
[2024/05/04 20:36:32.870 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20546] [conn=3636464016] [category=ddl] [job="ID:20546, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20540, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.827 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.889 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20546] [conn=3636464016] [category=ddl] [job="ID:20546, Type:drop schema, State:running, SchemaState:write only, SchemaID:20540, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.827 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.912 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20546] [conn=3636464016] [category=ddl] [job="ID:20546, Type:drop schema, State:running, SchemaState:delete only, SchemaID:20540, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-04 20:36:32.827 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.932 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20546] [tableIDs="[20542,20544]"] [comment="drop schema: table IDs"]
[2024/05/04 20:36:32.933 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20546] [jobType="drop schema"]
[2024/05/04 20:36:32.934 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20546] [conn=3636464016] [job="ID:20546, Type:drop schema, State:synced, SchemaState:none, SchemaID:20540, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-04 20:36:32.827 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/04 20:36:32.937 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20546]
[2024/05/04 20:36:32.937 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/04 20:36:32.938 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24678] [neededSchemaVersion=24681] ["start time"=387.896µs] [gotSchemaVersion=24681] [phyTblIDs="[20542,20544]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\",\"drop schema\",\"drop schema\"]"]
[2024/05/04 20:36:32.941 +08:00] [INFO] [signal_posix.go:54] ["got signal to exit"] [signal=terminated]
[2024/05/04 20:36:32.941 +08:00] [INFO] [server.go:584] ["setting tidb-server to report unhealthy (shutting-down)"]
[2024/05/04 20:36:32.941 +08:00] [ERROR] [http_status.go:531] ["start status/rpc server error"] [error="accept tcp 127.0.0.1:41955: use of closed network connection"]
[2024/05/04 20:36:32.941 +08:00] [ERROR] [http_status.go:526] ["http server error"] [error="http: Server closed"]
[2024/05/04 20:36:32.941 +08:00] [ERROR] [http_status.go:521] ["grpc server error"] [error="mux: server closed"]
[2024/05/04 20:36:32.943 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7184] [from=0] [to=11] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.944 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=9743] [tblID=9895] [from=0] [to=2147483647] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.945 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7063] [from=0] [to=256] [isUnsigned=true] [category="autoid service"]
[2024/05/04 20:36:32.946 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7081] [from=0] [to=4294967296] [isUnsigned=true] [category="autoid service"]
[2024/05/04 20:36:32.947 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7084] [from=0] [to=9223372036854775807] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.948 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=9743] [tblID=9906] [from=0] [to=6] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.949 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7066] [from=0] [to=32768] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.950 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7072] [from=0] [to=8388608] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.950 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7125] [from=0] [to=2] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.951 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7196] [from=0] [to=30] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.952 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7202] [from=0] [to=4008] [isUnsigned=true] [category="autoid service"]
[2024/05/04 20:36:32.953 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7060] [from=0] [to=128] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.954 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7075] [from=0] [to=16777216] [isUnsigned=true] [category="autoid service"]
[2024/05/04 20:36:32.956 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7078] [from=0] [to=2147483648] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.957 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7190] [from=0] [to=51] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.958 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7199] [from=0] [to=4008] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.959 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=9743] [tblID=9900] [from=0] [to=2] [isUnsigned=false] [category="autoid service"]
[2024/05/04 20:36:32.960 +08:00] [INFO] [autoid.go:569] ["forceRebase from"] [dbID=7028] [tblID=7069] [from=0] [to=65536] [isUnsigned=true] [category="autoid service"]
[2024/05/04 20:36:32.960 +08:00] [WARN] [manager.go:306] ["is not the owner"] ["owner info"="[autoid] tidb/autoid/leader ownerManager 127.0.0.1:41955"]
[2024/05/04 20:36:32.960 +08:00] [INFO] [manager.go:257] ["etcd session is done, creates a new one"] ["owner info"="[autoid] tidb/autoid/leader ownerManager 127.0.0.1:41955"]
[2024/05/04 20:36:32.960 +08:00] [INFO] [manager.go:261] ["break campaign loop, NewSession failed"] ["owner info"="[autoid] tidb/autoid/leader ownerManager 127.0.0.1:41955"] [error="context canceled"]
[2024/05/04 20:36:32.960 +08:00] [INFO] [manager.go:317] ["revoke session"] ["owner info"="[autoid] tidb/autoid/leader ownerManager 127.0.0.1:41955"] []
[2024/05/04 20:36:32.960 +08:00] [INFO] [server.go:978] ["start drain clients"]
[2024/05/04 20:36:32.960 +08:00] [INFO] [server.go:1007] ["all sessions quit in drain wait time"]
[2024/05/04 20:36:32.960 +08:00] [INFO] [server.go:959] ["kill all connections."] [category=server]
[2024/05/04 20:36:32.960 +08:00] [WARN] [manager.go:306] ["is not the owner"] ["owner info"="[ddl] /tidb/ddl/fg/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"]
[2024/05/04 20:36:32.960 +08:00] [INFO] [manager.go:273] ["break campaign loop, context is done"] ["owner info"="[ddl] /tidb/ddl/fg/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"]
[2024/05/04 20:36:32.961 +08:00] [INFO] [manager.go:317] ["revoke session"] ["owner info"="[ddl] /tidb/ddl/fg/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"] []
[2024/05/04 20:36:32.961 +08:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/04 20:36:32.961 +08:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=2.721µs]
[2024/05/04 20:36:32.961 +08:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 6, tp add index"] [category=ddl] ["take time"=918ns]
[2024/05/04 20:36:32.961 +08:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/04 20:36:32.961 +08:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp general"] [category=ddl] ["take time"=1.237µs]
[2024/05/04 20:36:32.961 +08:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl]
[2024/05/04 20:36:32.961 +08:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl]
[2024/05/04 20:36:32.961 +08:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl]
[2024/05/04 20:36:32.963 +08:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=b79a7cd0-7f42-4a37-846c-104a404c7373] ["take time"=2.173242ms]
[2024/05/04 20:36:32.963 +08:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=b79a7cd0-7f42-4a37-846c-104a404c7373]
[2024/05/04 20:36:32.963 +08:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"]
[2024/05/04 20:36:32.963 +08:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl]
[2024/05/04 20:36:32.963 +08:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/7b9ed088-1faa-4b55-890f-65108566764b]
[2024/05/04 20:36:32.963 +08:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/7b9ed088-1faa-4b55-890f-65108566764b] [watcherID=3bd49118-ba80-47eb-944a-1bc9f105532d]
[2024/05/04 20:36:32.963 +08:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0]
[2024/05/04 20:36:32.963 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/04 20:36:32.963 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/04 20:36:32.963 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/04 20:36:32.963 +08:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."]
[2024/05/04 20:36:32.963 +08:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0]
[2024/05/04 20:36:32.963 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/04 20:36:32.963 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/04 20:36:32.963 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/04 20:36:32.963 +08:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:1037] ["ttlJobManager exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:2817] ["releaseServerID succeed"] [serverID=1734]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper]
[2024/05/04 20:36:32.964 +08:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:2881] ["serverIDKeeper exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:2020] ["PlanReplayerTaskCollectHandle exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:2105] ["HistoricalStatsWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."]
[2024/05/04 20:36:32.964 +08:00] [WARN] [manager.go:306] ["is not the owner"] ["owner info"="[stats] /tidb/stats/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:2323] ["loadStatsWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:1542] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=b79a7cd0-7f42-4a37-846c-104a404c7373]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:2040] ["PlanReplayerTaskDumpHandle exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop]
[2024/05/04 20:36:32.964 +08:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [plan_replayer.go:413] ["planReplayerTaskDumpWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [manager.go:446] ["watcher is closed, no owner"] ["owner info"="[log-backup] ownerManager f8e2c7b7-b768-43a7-9b9a-f90a67bb2731 watch owner key /tidb/br-stream/owner/6e648f4380848e35"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/04 20:36:32.964 +08:00] [WARN] [manager.go:306] ["is not the owner"] ["owner info"="[log-backup] /tidb/br-stream/owner ownerManager f8e2c7b7-b768-43a7-9b9a-f90a67bb2731"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [advancer.go:397] ["Meet task event"] [category="log backup advancer"] [event="Err(, err = EOF)"]
[2024/05/04 20:36:32.964 +08:00] [ERROR] [advancer.go:400] ["listen task meet error, would reopen."] [error=EOF]
[2024/05/04 20:36:32.964 +08:00] [INFO] [advancer.go:403] ["Task watcher exits due to some error."] [category="log backup advancer"] [error=EOF]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=HistoricalStatsWorker]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/04 20:36:32.964 +08:00] [INFO] [manager.go:273] ["break campaign loop, context is done"] ["owner info"="[stats] /tidb/stats/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadStatsWorker]
[2024/05/04 20:36:32.964 +08:00] [WARN] [manager.go:306] ["is not the owner"] ["owner info"="[bindinfo] /tidb/bindinfo/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [manager.go:257] ["etcd session is done, creates a new one"] ["owner info"="[bindinfo] /tidb/bindinfo/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [manager.go:261] ["break campaign loop, NewSession failed"] ["owner info"="[bindinfo] /tidb/bindinfo/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"] [error="context canceled"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle]
[2024/05/04 20:36:32.964 +08:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f8e2c7b7-b768-43a7-9b9a-f90a67bb2731] [daemon-id=LogBackup::Advancer]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:1544] ["dist task scheduler manager stopped"] [id=b79a7cd0-7f42-4a37-846c-104a404c7373]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=logBackupAdvancer]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/04 20:36:32.964 +08:00] [INFO] [manager.go:292] ["failed to campaign"] ["owner info"="[log-backup] /tidb/br-stream/owner ownerManager f8e2c7b7-b768-43a7-9b9a-f90a67bb2731"] [error="context canceled"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [manager.go:280] ["recoverMetaLoop done"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [manager.go:273] ["break campaign loop, context is done"] ["owner info"="[log-backup] /tidb/br-stream/owner ownerManager f8e2c7b7-b768-43a7-9b9a-f90a67bb2731"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [manager.go:179] ["handle tasks loop done"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/04 20:36:32.964 +08:00] [INFO] [flush_subscriber.go:109] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s]
[2024/05/04 20:36:32.964 +08:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"]
[2024/05/04 20:36:32.964 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/04 20:36:35.482 +08:00] [INFO] [manager.go:317] ["revoke session"] ["owner info"="[bindinfo] /tidb/bindinfo/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"] [error="rpc error: code = Canceled desc = grpc: the client connection is closing"]
[2024/05/04 20:36:35.482 +08:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."]
[2024/05/04 20:36:35.482 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/04 20:36:35.495 +08:00] [INFO] [manager.go:317] ["revoke session"] ["owner info"="[log-backup] /tidb/br-stream/owner ownerManager f8e2c7b7-b768-43a7-9b9a-f90a67bb2731"] [error="rpc error: code = Canceled desc = grpc: the client connection is closing"]
[2024/05/04 20:36:35.530 +08:00] [INFO] [manager.go:317] ["revoke session"] ["owner info"="[stats] /tidb/stats/owner ownerManager b79a7cd0-7f42-4a37-846c-104a404c7373"] [error="rpc error: code = Canceled desc = grpc: the client connection is closing"]
[2024/05/04 20:36:35.530 +08:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner]
[2024/05/04 20:36:35.533 +08:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=2.572177883s]
[2024/05/04 20:36:35.533 +08:00] [INFO] [gc_worker.go:223] [quit] [category="gc worker"] [uuid=63d0e0282d80015]
[2024/05/04 20:36:35.533 +08:00] [INFO] [pd_service_discovery.go:550] ["[pd] exit member loop due to context canceled"]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_client.go:145] ["[tso] exit tso dispatcher check loop"]
[2024/05/04 20:36:35.533 +08:00] [INFO] [resource_manager_client.go:295] ["[resource manager] exit resource token dispatcher"]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_client.go:155] ["[tso] closing tso client"]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_dispatcher.go:350] ["[tso] exit tso connection contexts updater"] [dc-location=global]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_dispatcher.go:137] ["[tso] exit tso deadline watcher"] [dc-location=global]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_dispatcher.go:210] ["[tso] stop fetching the pending tso requests due to context canceled"] [dc-location=global]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_dispatcher.go:171] ["[tso] exit tso dispatcher"] [dc-location=global]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_batch_controller.go:160] ["[pd] clear the tso batch controller"] [max-batch-size=10000] [best-batch-size=1] [collected-request-count=0] [pending-request-count=0]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_client.go:160] ["[tso] close tso client"]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_batch_controller.go:160] ["[pd] clear the tso batch controller"] [max-batch-size=10000] [best-batch-size=1] [collected-request-count=0] [pending-request-count=0]
[2024/05/04 20:36:35.533 +08:00] [INFO] [tso_client.go:162] ["[tso] tso client is closed"]
[2024/05/04 20:36:35.533 +08:00] [INFO] [pd_service_discovery.go:637] ["[pd] close pd service discovery client"]
[2024/05/04 20:36:35.534 +08:00] [INFO] [client.go:329] ["[pd] http client closed"] [source=tikv-driver]
[2024/05/04 20:36:35.534 +08:00] [INFO] [cpu.go:98] ["sql cpu collector stopped"]
[2024/05/04 20:36:35.534 +08:00] [INFO] [cgmon.go:77] ["cgroup monitor stopped"]
[2024/05/04 20:36:35.534 +08:00] [INFO] [cpuprofile.go:130] ["parallel cpu profiler stopped"]
[Pipeline] archiveArtifacts
Archiving artifacts
No test report files were found. Configuration error?
[Pipeline] }
[Pipeline] // dir
[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] sh
+ echo 72a0fd5b00235a7c56014b77ddd933e2a0d33c88
+ echo 1679dbca25b3483d1375c7e747da27e99ad77360
+ echo 600b2ed4bf0aa38224a1c4c4c68831820735515c
+ curl -F refs/pingcap/tikv/master/sha1.verify=@tikv.sha1.verify 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   382  100   101  100   281   2871   7988 --:--:-- --:--:-- --:--:--  8028
{"msg":"success","url":"http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify"}+ curl -F refs/pingcap/pd/master/sha1.verify=@pd.sha1.verify 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   376  100    99  100   277   2945   8241 --:--:-- --:--:-- --:--:--  8393
{"msg":"success","url":"http://fileserver.pingcap.net/download/refs/pingcap/pd/master/sha1.verify"}+ curl -F refs/pingcap/tidb/master/sha1.verify=@tidb.sha1.verify 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   382  100   101  100   281   3970  11046 --:--:-- --:--:-- --:--:-- 11240
{"msg":"success","url":"http://fileserver.pingcap.net/download/refs/pingcap/tidb/master/sha1.verify"}
[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