Skip to content

Console Output

Skipping 12,008 KB.. Full Log
[2024/05/07 05:06:32.529 +08:00] [ERROR] [<unknown>] ["{\"created\":\"@1715029592.529677442\",\"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\":\"@1715029592.529674728\",\"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\":\"@1715029592.529665228\",\"description\":\"Unable to configure socket\",\"fd\":110,\"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\":\"@1715029592.529658357\",\"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\":\"@1715029592.529674460\",\"description\":\"Unable to configure socket\",\"fd\":110,\"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\":\"@1715029592.529672871\",\"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/07 05:06:32.529 +08:00] [INFO] [server.rs:1520] ["cpu quota set to 8.0"] [thread_id=17]
[2024/05/07 05:06:32.530 +08:00] [FATAL] [server.rs:1539] ["failed to build server: BindFail(\"0.0.0.0\", 20180)"] [thread_id=1]
+ find . -name '*.out' -type f -exec tail -n 500 '{}' +
[2024/05/07 05:35:03.110 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24638] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a > 0;"]
[2024/05/07 05:35:03.111 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24638] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a > -1;"]
[2024/05/07 05:35:03.112 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24638] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a > -1;"]
[2024/05/07 05:35:03.113 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24638] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where a > 3;"]
[2024/05/07 05:35:03.114 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24638] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a > 3;"]
[2024/05/07 05:35:03.115 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24638] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_partition_prune_mode`=DEFAULT"]
[2024/05/07 05:35:03.115 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24638] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_executor_concurrency`=DEFAULT"]
[2024/05/07 05:35:03.115 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24638] [cur_db=util__ranger] [sql="drop table if exists t2;"] [user=root@%]
[2024/05/07 05:35:03.128 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20517, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20509, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.12 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:03.128 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20517, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20509, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.12 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t2;"]
[2024/05/07 05:35:03.157 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20517] [conn=1625295236] [category=ddl] [job="ID:20517, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20509, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.12 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.177 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20517] [conn=1625295236] [category=ddl] [job="ID:20517, Type:drop table, State:running, SchemaState:write only, SchemaID:20501, TableID:20509, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.12 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.196 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20517] [conn=1625295236] [category=ddl] [job="ID:20517, Type:drop table, State:running, SchemaState:delete only, SchemaID:20501, TableID:20509, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.12 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.214 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20517] [tableIDs="[20509]"] [comment="drop table: table ID"]
[2024/05/07 05:35:03.216 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20517] [jobType="drop table"]
[2024/05/07 05:35:03.216 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20517] [conn=1625295236] [job="ID:20517, Type:drop table, State:synced, SchemaState:none, SchemaID:20501, TableID:20509, RowCount:0, ArgLen:3, start time: 2024-05-07 05:35:03.12 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.220 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20517]
[2024/05/07 05:35:03.220 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:03.222 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24638] [neededSchemaVersion=24641] ["start time"=475.303µs] [gotSchemaVersion=24641] [phyTblIDs="[20509]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/07 05:35:03.223 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24641] [cur_db=util__ranger] [sql="create table t2 (id int unsigned not null auto_increment primary key, t text, index(t(3)));"] [user=root@%]
[2024/05/07 05:35:03.236 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20519, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20518, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:03.236 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20519, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20518, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t2 (id int unsigned not null auto_increment primary key, t text, index(t(3)));"]
[2024/05/07 05:35:03.263 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20519] [conn=1625295236] [category=ddl] [job="ID:20519, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20518, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.291 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20519] [conn=1625295236] [job="ID:20519, Type:create table, State:synced, SchemaState:public, SchemaID:20501, TableID:20518, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.295 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20519]
[2024/05/07 05:35:03.295 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:03.295 +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"=748000000000005026]
[2024/05/07 05:35:03.296 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005026] ["first new region left"="{Id:16658 StartKey:7480000000000050ff2300000000000000f8 EndKey:7480000000000050ff2600000000000000f8 RegionEpoch:{ConfVer:1 Version:8062} Peers:[id:16659 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:03.296 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16658]"]
[2024/05/07 05:35:03.296 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24641] [neededSchemaVersion=24642] ["start time"=455.28µs] [gotSchemaVersion=24642] [phyTblIDs="[20518]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:03.297 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t2 (t) values ('aaaa'),('a');"]
[2024/05/07 05:35:03.299 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t2 where t='aaaa';"]
[2024/05/07 05:35:03.300 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t2 where t='aaaa';"]
[2024/05/07 05:35:03.301 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t2 where t='aaaa' or t = 'a';"]
[2024/05/07 05:35:03.302 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t2 where t='aaaa' or t = 'a';"]
[2024/05/07 05:35:03.303 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t2;"]
[2024/05/07 05:35:03.338 +08:00] [INFO] [analyze.go:747] ["analyze table `util__ranger`.`t2` has finished"] [partition=] ["job info"="analyze table all columns with 256 buckets, 500 topn, 1 samplerate"] ["start time"=2024/05/07 05:35:03.307 +08:00] ["end time"=2024/05/07 05:35:03.336 +08:00] [cost=29.451134ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/07 05:35:03.350 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t2 where t='aaaa';"]
[2024/05/07 05:35:03.351 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t2 where t='aaaa';"]
[2024/05/07 05:35:03.352 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t2 where t='aaaa' or t = 'a';"]
[2024/05/07 05:35:03.352 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24642] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t2 where t='aaaa' or t = 'a';"]
[2024/05/07 05:35:03.353 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24642] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/07 05:35:03.371 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20520, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20512, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.32 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:03.371 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20520, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20512, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.32 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/07 05:35:03.393 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20520] [conn=1625295236] [category=ddl] [job="ID:20520, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20512, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.32 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.413 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20520] [conn=1625295236] [category=ddl] [job="ID:20520, Type:drop table, State:running, SchemaState:write only, SchemaID:20501, TableID:20512, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.32 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.432 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20520] [conn=1625295236] [category=ddl] [job="ID:20520, Type:drop table, State:running, SchemaState:delete only, SchemaID:20501, TableID:20512, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.32 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.451 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20520] [tableIDs="[20513,20514,20515]"] [comment="drop table: partition table IDs"]
[2024/05/07 05:35:03.452 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20520] [tableIDs="[20512]"] [comment="drop table: table ID"]
[2024/05/07 05:35:03.454 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20520] [jobType="drop table"]
[2024/05/07 05:35:03.454 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20520] [conn=1625295236] [job="ID:20520, Type:drop table, State:synced, SchemaState:none, SchemaID:20501, TableID:20512, RowCount:0, ArgLen:3, start time: 2024-05-07 05:35:03.32 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.457 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20520]
[2024/05/07 05:35:03.457 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:03.458 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24642] [neededSchemaVersion=24645] ["start time"=470.224µs] [gotSchemaVersion=24645] [phyTblIDs="[20512,20513,20514,20515]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/07 05:35:03.460 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24645] [cur_db=util__ranger] [sql="create table t(a varchar(100), b int, c int, d int, index idx(a, b, c));"] [user=root@%]
[2024/05/07 05:35:03.472 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20522, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.469 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:03.472 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20522, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.469 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a varchar(100), b int, c int, d int, index idx(a, b, c));"]
[2024/05/07 05:35:03.499 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20522] [conn=1625295236] [category=ddl] [job="ID:20522, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.469 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.522 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20522] [conn=1625295236] [job="ID:20522, Type:create table, State:synced, SchemaState:public, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.469 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.526 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20522]
[2024/05/07 05:35:03.526 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:03.526 +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"=748000000000005029]
[2024/05/07 05:35:03.527 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005029] ["first new region left"="{Id:16660 StartKey:7480000000000050ff2600000000000000f8 EndKey:7480000000000050ff2900000000000000f8 RegionEpoch:{ConfVer:1 Version:8063} Peers:[id:16661 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:03.527 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16660]"]
[2024/05/07 05:35:03.527 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24645] [neededSchemaVersion=24646] ["start time"=565.928µs] [gotSchemaVersion=24646] [phyTblIDs="[20521]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:03.528 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24646] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t values ('t',1,1,1),('t',1,3,3),('t',2,1,3),('t',2,3,1),('w',0,3,3),('z',0,1,1);"]
[2024/05/07 05:35:03.531 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24646] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t use index (idx) where ((a = 't' and b = 1) or (a = 't' and b = 2) or (a = 'w' and b = 0)) and c > 2;"]
[2024/05/07 05:35:03.532 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24646] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t use index (idx) where ((a = 't' and b = 1) or (a = 't' and b = 2) or (a = 'w' and b = 0)) and c > 2;"]
[2024/05/07 05:35:03.534 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24646] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t use index (idx) where ((a = 't' and b = 1) or (a = 't' and b = 2) or (a = 'w' and b = 0)) and d > 2;"]
[2024/05/07 05:35:03.535 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24646] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t use index (idx) where ((a = 't' and b = 1) or (a = 't' and b = 2) or (a = 'w' and b = 0)) and d > 2;"]
[2024/05/07 05:35:03.536 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24646] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/07 05:35:03.547 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20523, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.519 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:03.547 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20523, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.519 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/07 05:35:03.571 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20523] [conn=1625295236] [category=ddl] [job="ID:20523, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.519 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.590 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20523] [conn=1625295236] [category=ddl] [job="ID:20523, Type:drop table, State:running, SchemaState:write only, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.519 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.609 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20523] [conn=1625295236] [category=ddl] [job="ID:20523, Type:drop table, State:running, SchemaState:delete only, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.519 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.628 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20523] [tableIDs="[20521]"] [comment="drop table: table ID"]
[2024/05/07 05:35:03.630 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20523] [jobType="drop table"]
[2024/05/07 05:35:03.630 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20523] [conn=1625295236] [job="ID:20523, Type:drop table, State:synced, SchemaState:none, SchemaID:20501, TableID:20521, RowCount:0, ArgLen:3, start time: 2024-05-07 05:35:03.519 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.633 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20523]
[2024/05/07 05:35:03.633 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:03.634 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24646] [neededSchemaVersion=24649] ["start time"=435.637µs] [gotSchemaVersion=24649] [phyTblIDs="[20521]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/07 05:35:03.635 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24649] [cur_db=util__ranger] [sql="create table t(a int, b int, c int, primary key(a,b,c));"] [user=root@%]
[2024/05/07 05:35:03.648 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20525, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.619 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:03.648 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20525, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.619 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int, b int, c int, primary key(a,b,c));"]
[2024/05/07 05:35:03.677 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20525] [conn=1625295236] [category=ddl] [job="ID:20525, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.619 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.699 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20525] [conn=1625295236] [job="ID:20525, Type:create table, State:synced, SchemaState:public, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.619 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.702 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20525]
[2024/05/07 05:35:03.703 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:03.703 +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"=74800000000000502c]
[2024/05/07 05:35:03.704 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000502c] ["first new region left"="{Id:16662 StartKey:7480000000000050ff2900000000000000f8 EndKey:7480000000000050ff2c00000000000000f8 RegionEpoch:{ConfVer:1 Version:8064} Peers:[id:16663 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:03.704 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16662]"]
[2024/05/07 05:35:03.704 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24649] [neededSchemaVersion=24650] ["start time"=635.646µs] [gotSchemaVersion=24650] [phyTblIDs="[20524]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:03.705 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t values(1,1,1),(2,2,3);"]
[2024/05/07 05:35:03.708 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t;"]
[2024/05/07 05:35:03.745 +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/07 05:35:03.712 +08:00] ["end time"=2024/05/07 05:35:03.744 +08:00] [cost=32.060719ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/07 05:35:03.762 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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,c) in ((1,1),(2,3));"]
[2024/05/07 05:35:03.763 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and (b,c) in ((1,1),(2,3));"]
[2024/05/07 05:35:03.764 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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 and c = 1) or (b = 2 and c = 3));"]
[2024/05/07 05:35:03.764 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t where a = 1 and ((b = 1 and c = 1) or (b = 2 and c = 3));"]
[2024/05/07 05:35:03.765 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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 = 3));"]
[2024/05/07 05:35:03.765 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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 = 3));"]
[2024/05/07 05:35:03.767 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where (a,b) in ((1,1),(2,2)) and c = 3;"]
[2024/05/07 05:35:03.767 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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 = 3;"]
[2024/05/07 05:35:03.768 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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 = 3;"]
[2024/05/07 05:35:03.769 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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 = 3;"]
[2024/05/07 05:35:03.770 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t use index(primary) where ((a = 1) or (a = 2 and b = 2)) and c = 3;"]
[2024/05/07 05:35:03.771 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t use index(primary) where ((a = 1) or (a = 2 and b = 2)) and c = 3;"]
[2024/05/07 05:35:03.772 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where (a,b) in ((1,1),(2,2)) and c > 2 and (a,b,c) in ((1,1,1),(2,2,3));"]
[2024/05/07 05:35:03.773 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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 and (a,b,c) in ((1,1,1),(2,2,3));"]
[2024/05/07 05:35:03.774 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where (a,b) in ((1,1),(2,2)) and c > 2;"]
[2024/05/07 05:35:03.774 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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/07 05:35:03.775 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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/07 05:35:03.776 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24650] [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/07 05:35:03.776 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24650] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/07 05:35:03.789 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20526, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.77 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:03.789 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20526, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.77 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/07 05:35:03.820 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20526] [conn=1625295236] [category=ddl] [job="ID:20526, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.77 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.840 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20526] [conn=1625295236] [category=ddl] [job="ID:20526, Type:drop table, State:running, SchemaState:write only, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.77 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.859 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20526] [conn=1625295236] [category=ddl] [job="ID:20526, Type:drop table, State:running, SchemaState:delete only, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.77 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.881 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20526] [tableIDs="[20524]"] [comment="drop table: table ID"]
[2024/05/07 05:35:03.883 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20526] [jobType="drop table"]
[2024/05/07 05:35:03.883 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20526] [conn=1625295236] [job="ID:20526, Type:drop table, State:synced, SchemaState:none, SchemaID:20501, TableID:20524, RowCount:0, ArgLen:3, start time: 2024-05-07 05:35:03.77 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.887 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20526]
[2024/05/07 05:35:03.887 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:03.888 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24650] [neededSchemaVersion=24653] ["start time"=354.034µs] [gotSchemaVersion=24653] [phyTblIDs="[20524]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/07 05:35:03.889 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24653] [cur_db=util__ranger] [sql="create table t(a int, b int, c int, primary key(a,b));"] [user=root@%]
[2024/05/07 05:35:03.902 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20528, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:03.902 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20528, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:03.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int, b int, c int, primary key(a,b));"]
[2024/05/07 05:35:03.930 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20528] [conn=1625295236] [category=ddl] [job="ID:20528, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.950 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20528] [conn=1625295236] [job="ID:20528, Type:create table, State:synced, SchemaState:public, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:03.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:03.954 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20528]
[2024/05/07 05:35:03.954 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:03.954 +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"=74800000000000502f]
[2024/05/07 05:35:03.955 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000502f] ["first new region left"="{Id:16664 StartKey:7480000000000050ff2c00000000000000f8 EndKey:7480000000000050ff2f00000000000000f8 RegionEpoch:{ConfVer:1 Version:8065} Peers:[id:16665 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:03.955 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16664]"]
[2024/05/07 05:35:03.955 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24653] [neededSchemaVersion=24654] ["start time"=613.233µs] [gotSchemaVersion=24654] [phyTblIDs="[20527]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:03.956 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t values(1,1,1),(2,2,3);"]
[2024/05/07 05:35:03.959 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t;"]
[2024/05/07 05:35:03.990 +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/07 05:35:03.963 +08:00] ["end time"=2024/05/07 05:35:03.989 +08:00] [cost=26.038003ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/07 05:35:04.006 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where (a,b) in ((1,1),(2,2)) and c = 3;"]
[2024/05/07 05:35:04.006 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [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 = 3;"]
[2024/05/07 05:35:04.007 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [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 = 3;"]
[2024/05/07 05:35:04.008 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [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 = 3;"]
[2024/05/07 05:35:04.009 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t use index(primary) where ((a = 1) or (a = 2 and b = 2)) and c = 3;"]
[2024/05/07 05:35:04.009 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="select * from t use index(primary) where ((a = 1) or (a = 2 and b = 2)) and c = 3;"]
[2024/05/07 05:35:04.011 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [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 = 3 and (a = 1 or a = 2);"]
[2024/05/07 05:35:04.012 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [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 = 3 and (a = 1 or a = 2);"]
[2024/05/07 05:35:04.013 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format='brief' select * from t where (a,b) in ((1,1),(2,2)) and c > 2;"]
[2024/05/07 05:35:04.014 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [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/07 05:35:04.015 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [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/07 05:35:04.015 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [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/07 05:35:04.016 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24654] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_regard_null_as_point`=FALSE"]
[2024/05/07 05:35:04.016 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24654] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/07 05:35:04.029 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20529, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:04.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:04.029 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20529, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:04.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/07 05:35:04.051 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20529] [conn=1625295236] [category=ddl] [job="ID:20529, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:04.072 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20529] [conn=1625295236] [category=ddl] [job="ID:20529, Type:drop table, State:running, SchemaState:write only, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:04.091 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20529] [conn=1625295236] [category=ddl] [job="ID:20529, Type:drop table, State:running, SchemaState:delete only, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:04.111 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20529] [tableIDs="[20527]"] [comment="drop table: table ID"]
[2024/05/07 05:35:04.112 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20529] [jobType="drop table"]
[2024/05/07 05:35:04.113 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20529] [conn=1625295236] [job="ID:20529, Type:drop table, State:synced, SchemaState:none, SchemaID:20501, TableID:20527, RowCount:0, ArgLen:3, start time: 2024-05-07 05:35:04.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:04.116 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20529]
[2024/05/07 05:35:04.116 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:04.117 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24654] [neededSchemaVersion=24657] ["start time"=449.303µs] [gotSchemaVersion=24657] [phyTblIDs="[20527]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/07 05:35:04.118 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24657] [cur_db=util__ranger] [sql="create table t(a int, b int, c int, key(a,b,c));"] [user=root@%]
[2024/05/07 05:35:04.131 +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:20501, TableID:20530, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:04.119 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:04.131 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20531, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:04.119 +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/07 05:35:04.159 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20531] [conn=1625295236] [category=ddl] [job="ID:20531, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.119 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:04.179 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20531] [conn=1625295236] [job="ID:20531, Type:create table, State:synced, SchemaState:public, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.119 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:04.183 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20531]
[2024/05/07 05:35:04.183 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:04.183 +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/07 05:35:04.184 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005032] ["first new region left"="{Id:16666 StartKey:7480000000000050ff2f00000000000000f8 EndKey:7480000000000050ff3200000000000000f8 RegionEpoch:{ConfVer:1 Version:8066} Peers:[id:16667 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:04.184 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16666]"]
[2024/05/07 05:35:04.184 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24657] [neededSchemaVersion=24658] ["start time"=536.354µs] [gotSchemaVersion=24658] [phyTblIDs="[20530]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:04.185 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [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 t values(1,2,2);"]
[2024/05/07 05:35:04.188 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.188 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.189 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.189 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.191 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.191 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.192 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.192 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.193 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.193 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.194 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.195 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.195 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.196 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.197 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.198 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.198 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.199 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [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/07 05:35:04.199 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_regard_null_as_point`=DEFAULT"]
[2024/05/07 05:35:04.199 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24658] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=2"]
[2024/05/07 05:35:04.199 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24658] [cur_db=util__ranger] [sql="drop table if exists t0;"] [user=root@%]
[2024/05/07 05:35:04.199 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24658] [cur_db=util__ranger] [sql="CREATE TABLE t0(c0 TEXT(10));"] [user=root@%]
[2024/05/07 05:35:04.200 +08:00] [INFO] [ddl_api.go:1133] ["Automatically convert BLOB(10) to TINYBLOB"] [category=ddl]
[2024/05/07 05:35:04.212 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20533, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:04.169 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:04.212 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20533, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:04.169 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t0(c0 TEXT(10));"]
[2024/05/07 05:35:04.234 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20533] [conn=1625295236] [category=ddl] [job="ID:20533, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.169 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:04.254 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20533] [conn=1625295236] [job="ID:20533, Type:create table, State:synced, SchemaState:public, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.169 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:04.257 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20533]
[2024/05/07 05:35:04.257 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:04.257 +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"=748000000000005034]
[2024/05/07 05:35:04.258 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005034] ["first new region left"="{Id:16668 StartKey:7480000000000050ff3200000000000000f8 EndKey:7480000000000050ff3400000000000000f8 RegionEpoch:{ConfVer:1 Version:8067} Peers:[id:16669 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:04.258 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16668]"]
[2024/05/07 05:35:04.258 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24658] [neededSchemaVersion=24659] ["start time"=492.116µs] [gotSchemaVersion=24659] [phyTblIDs="[20532]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:04.259 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24659] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="INSERT INTO t0(c0) VALUES (1);"]
[2024/05/07 05:35:04.261 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24659] [cur_db=util__ranger] [sql="CREATE INDEX i0 ON t0(c0(255));"] [user=root@%]
[2024/05/07 05:35:04.273 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20534, Type:add index, State:queueing, SchemaState:none, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:6, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true]
[2024/05/07 05:35:04.273 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20534, Type:add index, State:queueing, SchemaState:none, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:6, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="CREATE INDEX i0 ON t0(c0(255));"]
[2024/05/07 05:35:04.311 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [category=ddl] [job="ID:20534, Type:add index, State:queueing, SchemaState:none, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:04.312 +08:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:none, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:6, start time: 2024-05-07 05:35:04.269 +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/07 05:35:04.335 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:delete only, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:04.359 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:write only, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:04.384 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:04.384 +08:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=20534] [table=t0] ["ingest mode"=true] [index=i0]
[2024/05/07 05:35:04.385 +08:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=20534] [physicalTableID=20532] [startKey=7480000000000050345f728000000000000001] [endKey=7480000000000050345f72800000000000000100]
[2024/05/07 05:35:04.416 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20501, TableID:20532, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449585166252769283, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:04.416 +08:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=20534] [table=t0] ["ingest mode"=true] [index=i0]
[2024/05/07 05:35:04.421 +08:00] [INFO] [index.go:2089] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/20534]
[2024/05/07 05:35:04.430 +08:00] [INFO] [index.go:2178] ["estimate row size"] [tableID=20532] [size=0] [error="less than 3 regions"]
[2024/05/07 05:35:04.439 +08:00] [INFO] [scheduler_manager.go:355] ["task scheduler started"] [task-id=660015]
[2024/05/07 05:35:04.439 +08:00] [INFO] [scheduler.go:120] ["schedule task"] [task-id=660015] [task-type=backfill] [allocated-slots=true] [state=pending] [concurrency=4]
[2024/05/07 05:35:04.941 +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/07 05:35:04.941 +08:00] [INFO] [scheduler.go:446] ["eligible instances"] [task-id=660015] [task-type=backfill] [allocated-slots=true] [num=1]
[2024/05/07 05:35:04.942 +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/07 05:35:04.944 +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/07 05:35:05.037 +08:00] [INFO] [manager.go:328] ["task executor started"] [task-id=660015] [type=backfill] [remaining-slots=4]
[2024/05/07 05:35:05.339 +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/07 05:35:05.340 +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/07 05:35:05.340 +08:00] [INFO] [backend_mgr.go:248] ["create local backend for adding index"] [category=ddl-ingest] [sortDir=/tmp/tidb/tmp_ddl-32911/20534] [keyspaceName=]
[2024/05/07 05:35:05.341 +08:00] [INFO] [pd_service_discovery.go:1016] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=]
[2024/05/07 05:35:05.341 +08:00] [INFO] [pd_service_discovery.go:498] ["[pd] init cluster id"] [cluster-id=7365996017813356640]
[2024/05/07 05:35:05.342 +08:00] [INFO] [client.go:613] ["[pd] changing service mode"] [old-mode=UNKNOWN_SVC_MODE] [new-mode=PD_SVC_MODE]
[2024/05/07 05:35:05.342 +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/07 05:35:05.342 +08:00] [INFO] [client.go:619] ["[pd] service mode changed"] [old-mode=UNKNOWN_SVC_MODE] [new-mode=PD_SVC_MODE]
[2024/05/07 05:35:05.342 +08:00] [INFO] [tso_client.go:130] ["[tso] start tso dispatcher check loop"]
[2024/05/07 05:35:05.342 +08:00] [INFO] [tso_dispatcher.go:119] ["[tso] start tso deadline watcher"] [dc-location=global]
[2024/05/07 05:35:05.342 +08:00] [INFO] [tso_dispatcher.go:168] ["[tso] tso dispatcher created"] [dc-location=global]
[2024/05/07 05:35:05.342 +08:00] [INFO] [tso_dispatcher.go:336] ["[tso] start tso connection contexts updater"] [dc-location=global]
[2024/05/07 05:35:05.344 +08:00] [INFO] [local.go:682] ["multi ingest support"] [category=ddl-ingest]
[2024/05/07 05:35:05.344 +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/07 05:35:05.344 +08:00] [INFO] [backend_mgr.go:161] ["create one backend for an DDL job"] ["job ID"=20534] ["current memory usage"=34016] ["max memory quota"=17179869184] ["is unique index"=false]
[2024/05/07 05:35:05.344 +08:00] [INFO] [backfilling_read_index.go:91] ["read index executor init subtask exec env"] [category=ddl]
[2024/05/07 05:35:05.348 +08:00] [INFO] [backfilling_read_index.go:96] ["read index executor run subtask"] [category=ddl] ["use cloud"=false]
[2024/05/07 05:35:05.350 +08:00] [INFO] [backend.go:253] ["open engine"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba]
[2024/05/07 05:35:05.350 +08:00] [INFO] [engine_mgr.go:81] ["open an engine for index reorg task"] ["job ID"=20534] ["index ID"=1] ["current memory usage"=671122800] ["memory limitation"=17179869184] ["current writer count"=1]
[2024/05/07 05:35:05.351 +08:00] [INFO] [backfilling_operators.go:160] ["build add index local storage operators"] [task-id=660015] [subtask-id=60015] [jobID=20534] [avgRowSize=0] [reader=2] [writer=4]
[2024/05/07 05:35:05.352 +08:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=20532] ["start key"=7480000000000050345f728000000000000001] ["end key"=7480000000000050345f72800000000000000100]
[2024/05/07 05:35:05.352 +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=7480000000000050345f728000000000000001, endKey=7480000000000050345f72800000000000000100"]
[2024/05/07 05:35:05.364 +08:00] [INFO] [engine.go:198] ["create one local writer for index reorg task"] ["job ID"=20534] ["index ID"=1] ["worker ID"=1] ["allocate memory"=40] ["current memory usage"=671122840] ["max memory quota"=17179869184]
[2024/05/07 05:35:05.376 +08:00] [INFO] [engine.go:198] ["create one local writer for index reorg task"] ["job ID"=20534] ["index ID"=1] ["worker ID"=2] ["allocate memory"=40] ["current memory usage"=671122880] ["max memory quota"=17179869184]
[2024/05/07 05:35:05.376 +08:00] [INFO] [backfilling_operators.go:697] ["finish a index ingest task"] [task-id=660015] [subtask-id=60015] [id=1]
[2024/05/07 05:35:05.400 +08:00] [INFO] [engine.go:198] ["create one local writer for index reorg task"] ["job ID"=20534] ["index ID"=1] ["worker ID"=3] ["allocate memory"=40] ["current memory usage"=672171496] ["max memory quota"=17179869184]
[2024/05/07 05:35:05.427 +08:00] [INFO] [engine.go:198] ["create one local writer for index reorg task"] ["job ID"=20534] ["index ID"=1] ["worker ID"=4] ["allocate memory"=40] ["current memory usage"=672171536] ["max memory quota"=17179869184]
[2024/05/07 05:35:05.427 +08:00] [INFO] [engine.go:867] ["write data to local DB"] [category=ddl-ingest] [size=39] [kvs=1] [files=1] [sstFileSize=942] [file=/tmp/tidb/tmp_ddl-32911/20534/4229afb8-665d-5dce-bb97-2afa316b67ba.sst/4416b019-c904-44a4-bd37-793ca90e7788.sst] [firstKey=7480000000000050345F698000000000000001013100000000000000F8038000000000000001] [lastKey=7480000000000050345F698000000000000001013100000000000000F8038000000000000001]
[2024/05/07 05:35:05.429 +08:00] [INFO] [backend.go:215] ["acquire distributed flush lock success"] [jobID=20534]
[2024/05/07 05:35:05.429 +08:00] [INFO] [backend.go:237] ["do a partial import data into the storage"] ["index ID"=1] ["usage info"="disk usage: 292661739520/467794132992, backend usage: 0"]
[2024/05/07 05:35:05.429 +08:00] [INFO] [backend.go:372] ["import start"] [category=ddl-ingest] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba] [retryCnt=0]
[2024/05/07 05:35:05.429 +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/07 05:35:05.429 +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/07 05:35:05.429 +08:00] [INFO] [local.go:1280] ["pause pd scheduler of table scope"] [category=ddl-ingest]
[2024/05/07 05:35:05.451 +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/07 05:35:05.451 +08:00] [INFO] [local.go:835] ["import engine ranges"] [category=ddl-ingest] [count=1]
[2024/05/07 05:35:05.456 +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/07 05:35:05.457 +08:00] [INFO] [backend.go:378] ["import completed"] [category=ddl-ingest] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba] [retryCnt=0] [takeTime=28.468499ms] []
[2024/05/07 05:35:05.460 +08:00] [INFO] [backend.go:221] ["release distributed flush lock success"] [jobID=20534]
[2024/05/07 05:35:05.466 +08:00] [INFO] [backfilling_read_index.go:151] ["read index executor cleanup subtask exec env"]
[2024/05/07 05:35:05.466 +08:00] [INFO] [backend.go:330] ["engine close start"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba]
[2024/05/07 05:35:05.466 +08:00] [INFO] [backend.go:332] ["engine close completed"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba] [takeTime=611.313µs] []
[2024/05/07 05:35:05.466 +08:00] [INFO] [backend.go:391] ["cleanup start"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba]
[2024/05/07 05:35:05.467 +08:00] [INFO] [backend.go:393] ["cleanup completed"] [category=ddl-ingest] [engineTag=t0:1] [engineUUID=4229afb8-665d-5dce-bb97-2afa316b67ba] [takeTime=460.779µs] []
[2024/05/07 05:35:05.467 +08:00] [INFO] [tso_client.go:145] ["[tso] exit tso dispatcher check loop"]
[2024/05/07 05:35:05.467 +08:00] [INFO] [resource_manager_client.go:295] ["[resource manager] exit resource token dispatcher"]
[2024/05/07 05:35:05.467 +08:00] [INFO] [pd_service_discovery.go:550] ["[pd] exit member loop due to context canceled"]
[2024/05/07 05:35:05.467 +08:00] [INFO] [tso_client.go:155] ["[tso] closing tso client"]
[2024/05/07 05:35:05.467 +08:00] [INFO] [tso_dispatcher.go:350] ["[tso] exit tso connection contexts updater"] [dc-location=global]
[2024/05/07 05:35:05.467 +08:00] [INFO] [tso_dispatcher.go:137] ["[tso] exit tso deadline watcher"] [dc-location=global]
[2024/05/07 05:35:05.467 +08:00] [INFO] [tso_dispatcher.go:210] ["[tso] stop fetching the pending tso requests due to context canceled"] [dc-location=global]
[2024/05/07 05:35:05.467 +08:00] [INFO] [tso_dispatcher.go:171] ["[tso] exit tso dispatcher"] [dc-location=global]
[2024/05/07 05:35:05.467 +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/07 05:35:05.467 +08:00] [INFO] [tso_client.go:160] ["[tso] close tso client"]
[2024/05/07 05:35:05.467 +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/07 05:35:05.467 +08:00] [INFO] [tso_client.go:162] ["[tso] tso client is closed"]
[2024/05/07 05:35:05.467 +08:00] [INFO] [pd_service_discovery.go:637] ["[pd] close pd service discovery client"]
[2024/05/07 05:35:05.467 +08:00] [INFO] [client.go:329] ["[pd] http client closed"] [source=lightning]
[2024/05/07 05:35:05.467 +08:00] [INFO] [tso_client.go:155] ["[tso] closing tso client"]
[2024/05/07 05:35:05.467 +08:00] [INFO] [tso_client.go:160] ["[tso] close tso client"]
[2024/05/07 05:35:05.467 +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/07 05:35:05.467 +08:00] [INFO] [tso_client.go:162] ["[tso] tso client is closed"]
[2024/05/07 05:35:05.467 +08:00] [INFO] [backend_mgr.go:309] ["close one backend for DDL job"] ["job ID"=20534] ["current memory usage"=33960] ["max memory quota"=17179869184]
[2024/05/07 05:35:05.467 +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=128.115419ms] []
[2024/05/07 05:35:05.942 +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/07 05:35:06.072 +08:00] [INFO] [manager.go:332] ["task executor exit"] [task-id=660015] [type=backfill]
[2024/05/07 05:35:06.240 +08:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1]
[2024/05/07 05:35:06.274 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20501, TableID:20532, RowCount:1, ArgLen:0, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449585166252769283, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:06.275 +08:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=20534] [table=t0] [index=i0]
[2024/05/07 05:35:06.299 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20501, TableID:20532, RowCount:1, ArgLen:0, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:06.300 +08:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=20534] [physicalTableID=20532] [startKey=7480000000000050345f69ffff000000000001] [endKey=7480000000000050345f69ffff000000000001ff]
[2024/05/07 05:35:06.323 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20501, TableID:20532, RowCount:1, ArgLen:0, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449585166750842891, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:06.325 +08:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:20534, Type:add index, State:running, SchemaState:write reorganization, SchemaID:20501, TableID:20532, RowCount:1, ArgLen:6, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449585166750842891, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000050345f69ffff000000000001,EndKey:7480000000000050345f69ffff000000000001ff,First:false,PhysicalTableID:20532,Ingest mode:false"]
[2024/05/07 05:35:06.326 +08:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=20532] ["start key"=7480000000000050345f69ffff000000000001] ["end key"=7480000000000050345f69ffff000000000001ff]
[2024/05/07 05:35:06.326 +08:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000050345f69ffff000000000001] [endKey=7480000000000050345f69ffff000000000001ff]
[2024/05/07 05:35:06.327 +08:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=20532] ["end key"=7480000000000050345f69ffff000000000001ff] ["current end key"=7480000000000050345f69ffff00000000000100]
[2024/05/07 05:35:06.327 +08:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=20534]
[2024/05/07 05:35:06.327 +08:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=20534]
[2024/05/07 05:35:06.327 +08:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=20534]
[2024/05/07 05:35:06.327 +08:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 20532, range: [7480000000000050345f69ffff000000000001, 7480000000000050345f69ffff00000000000100), jobID: 20534"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000050345f69ffff0000000000010000] ["take time"=340.123µs]
[2024/05/07 05:35:06.327 +08:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=20534]
[2024/05/07 05:35:06.327 +08:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000050345f69ffff000000000001]
[2024/05/07 05:35:06.327 +08:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1]
[2024/05/07 05:35:06.333 +08:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_general_ci]
[2024/05/07 05:35:06.358 +08:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=20534] [tableID=20532] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"]
[2024/05/07 05:35:06.360 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20534] [jobType="add index"]
[2024/05/07 05:35:06.360 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=20534] [conn=1625295236] [job="ID:20534, Type:add index, State:synced, SchemaState:public, SchemaID:20501, TableID:20532, RowCount:1, ArgLen:3, start time: 2024-05-07 05:35:04.269 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:449585166750842891, LocalMode: false, UniqueWarnings:0"]
[2024/05/07 05:35:06.365 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20534]
[2024/05/07 05:35:06.365 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:06.368 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24659] [neededSchemaVersion=24665] ["start time"=2.585682ms] [gotSchemaVersion=24665] [phyTblIDs="[20532,20532,20532,20532,20532,20532]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\",\"add index\",\"add index\",\"add index\",\"add index\",\"add index\"]"]
[2024/05/07 05:35:06.371 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t0;"]
[2024/05/07 05:35:06.396 +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/07 05:35:06.375 +08:00] ["end time"=2024/05/07 05:35:06.395 +08:00] [cost=19.691627ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/07 05:35:06.407 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="explain format = 'brief' select * from t0 where c0;"]
[2024/05/07 05:35:06.407 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [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/07 05:35:06.407 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [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/07 05:35:06.408 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [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/07 05:35:06.408 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [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/07 05:35:06.409 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [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/07 05:35:06.409 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [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/07 05:35:06.409 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=DEFAULT"]
[2024/05/07 05:35:06.409 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24665] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=2"]
[2024/05/07 05:35:06.410 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24665] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/07 05:35:06.422 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20535, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:06.369 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:06.422 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20535, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:06.369 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/07 05:35:06.440 +08:00] [INFO] [scheduler_manager.go:364] ["task scheduler exist"] [task-id=660015]
[2024/05/07 05:35:06.442 +08:00] [INFO] [scheduler_manager.go:410] ["cleanup routine start"]
[2024/05/07 05:35:06.442 +08:00] [INFO] [scheduler_manager.go:426] ["cleanup task"] [task-id=660015]
[2024/05/07 05:35:06.443 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20535] [conn=1625295236] [category=ddl] [job="ID:20535, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.369 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.446 +08:00] [INFO] [scheduler_manager.go:419] ["cleanup routine success"]
[2024/05/07 05:35:06.462 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20535] [conn=1625295236] [category=ddl] [job="ID:20535, Type:drop table, State:running, SchemaState:write only, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.369 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.481 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20535] [conn=1625295236] [category=ddl] [job="ID:20535, Type:drop table, State:running, SchemaState:delete only, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.369 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.499 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20535] [tableIDs="[20530]"] [comment="drop table: table ID"]
[2024/05/07 05:35:06.500 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20535] [jobType="drop table"]
[2024/05/07 05:35:06.501 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20535] [conn=1625295236] [job="ID:20535, Type:drop table, State:synced, SchemaState:none, SchemaID:20501, TableID:20530, RowCount:0, ArgLen:3, start time: 2024-05-07 05:35:06.369 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.504 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20535]
[2024/05/07 05:35:06.504 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:06.505 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24665] [neededSchemaVersion=24668] ["start time"=370.835µs] [gotSchemaVersion=24668] [phyTblIDs="[20530]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/07 05:35:06.506 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24668] [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/07 05:35:06.518 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20537, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:06.469 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:06.519 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20537, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:06.469 +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/07 05:35:06.553 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20537] [conn=1625295236] [category=ddl] [job="ID:20537, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.469 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.574 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20537] [conn=1625295236] [job="ID:20537, Type:create table, State:synced, SchemaState:public, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.469 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.577 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20537]
[2024/05/07 05:35:06.577 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:06.577 +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"=748000000000005038]
[2024/05/07 05:35:06.578 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005038] ["first new region left"="{Id:16674 StartKey:7480000000000050ff345f698000000000ff0000010131000000ff00000000f8038000ff0000000000010000fe EndKey:7480000000000050ff3800000000000000f8 RegionEpoch:{ConfVer:1 Version:8070} Peers:[id:16675 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:06.578 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16674]"]
[2024/05/07 05:35:06.579 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24668] [neededSchemaVersion=24669] ["start time"=567.658µs] [gotSchemaVersion=24669] [phyTblIDs="[20536]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:06.580 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24669] [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/07 05:35:06.580 +08:00] [WARN] [prewrite.go:382] ["1pc failed and fallbacks to normal commit procedure"] [conn=1625295236] [session_alias=] [startTS=449585166829486089]
[2024/05/07 05:35:06.582 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24669] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t;"]
[2024/05/07 05:35:06.631 +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/07 05:35:06.585 +08:00] ["end time"=2024/05/07 05:35:06.630 +08:00] [cost=44.456066ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/07 05:35:06.652 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24669] [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/07 05:35:06.653 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24669] [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/07 05:35:06.654 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24669] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_cost_model_version`=DEFAULT"]
[2024/05/07 05:35:06.655 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24669] [cur_db=util__ranger] [sql="drop table if exists t;"] [user=root@%]
[2024/05/07 05:35:06.667 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20538, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:06.62 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:06.667 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20538, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:06.62 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t;"]
[2024/05/07 05:35:06.687 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20538] [conn=1625295236] [category=ddl] [job="ID:20538, Type:drop table, State:queueing, SchemaState:public, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.62 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.706 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20538] [conn=1625295236] [category=ddl] [job="ID:20538, Type:drop table, State:running, SchemaState:write only, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.62 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.725 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20538] [conn=1625295236] [category=ddl] [job="ID:20538, Type:drop table, State:running, SchemaState:delete only, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.62 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.747 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20538] [tableIDs="[20536]"] [comment="drop table: table ID"]
[2024/05/07 05:35:06.748 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20538] [jobType="drop table"]
[2024/05/07 05:35:06.749 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20538] [conn=1625295236] [job="ID:20538, Type:drop table, State:synced, SchemaState:none, SchemaID:20501, TableID:20536, RowCount:0, ArgLen:3, start time: 2024-05-07 05:35:06.62 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.752 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20538]
[2024/05/07 05:35:06.752 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:06.753 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24669] [neededSchemaVersion=24672] ["start time"=337.186µs] [gotSchemaVersion=24672] [phyTblIDs="[20536]"] [actionTypes="[4]"] [diffTypes="[\"drop table\",\"drop table\",\"drop table\"]"]
[2024/05/07 05:35:06.754 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295236] [schemaVersion=24672] [cur_db=util__ranger] [sql="create table t(a int not null, b int not null, primary key(a,b));"] [user=root@%]
[2024/05/07 05:35:06.767 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20540, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20539, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:06.72 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:06.767 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20540, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20539, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:06.72 +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/07 05:35:06.795 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20540] [conn=1625295236] [category=ddl] [job="ID:20540, Type:create table, State:queueing, SchemaState:none, SchemaID:20501, TableID:20539, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.72 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.814 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20540] [conn=1625295236] [job="ID:20540, Type:create table, State:synced, SchemaState:public, SchemaID:20501, TableID:20539, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.72 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.818 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20540]
[2024/05/07 05:35:06.818 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:06.818 +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"=74800000000000503b]
[2024/05/07 05:35:06.819 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000503b] ["first new region left"="{Id:16676 StartKey:7480000000000050ff3800000000000000f8 EndKey:7480000000000050ff3b00000000000000f8 RegionEpoch:{ConfVer:1 Version:8071} Peers:[id:16677 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:06.819 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16676]"]
[2024/05/07 05:35:06.819 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24672] [neededSchemaVersion=24673] ["start time"=529.228µs] [gotSchemaVersion=24673] [phyTblIDs="[20539]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:06.820 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24673] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t values(1,2);"]
[2024/05/07 05:35:06.822 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24673] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=util__ranger] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t;"]
[2024/05/07 05:35:06.847 +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/07 05:35:06.826 +08:00] ["end time"=2024/05/07 05:35:06.845 +08:00] [cost=19.498214ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/07 05:35:06.859 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24673] [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/07 05:35:06.860 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295236] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24673] [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/07 05:35:06.861 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295240] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24673] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/07 05:35:06.861 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295240] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24673] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/07 05:35:06.861 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295240] [schemaVersion=24673] [cur_db=test] [sql="drop database `util__ranger`"] [user=root@%]
[2024/05/07 05:35:06.873 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20541, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20501, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-07 05:35:06.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:06.873 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20541, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20501, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-07 05:35:06.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database `util__ranger`"]
[2024/05/07 05:35:06.893 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20541] [conn=1625295240] [category=ddl] [job="ID:20541, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20501, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.912 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20541] [conn=1625295240] [category=ddl] [job="ID:20541, Type:drop schema, State:running, SchemaState:write only, SchemaID:20501, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.933 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20541] [conn=1625295240] [category=ddl] [job="ID:20541, Type:drop schema, State:running, SchemaState:delete only, SchemaID:20501, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.952 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20541] [tableIDs="[20505,20507,20518,20532,20539]"] [comment="drop schema: table IDs"]
[2024/05/07 05:35:06.954 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20541] [jobType="drop schema"]
[2024/05/07 05:35:06.954 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20541] [conn=1625295240] [job="ID:20541, Type:drop schema, State:synced, SchemaState:none, SchemaID:20501, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-07 05:35:06.869 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:06.957 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20541]
[2024/05/07 05:35:06.957 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:06.958 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24673] [neededSchemaVersion=24676] ["start time"=427.556µs] [gotSchemaVersion=24676] [phyTblIDs="[20505,20507,20518,20532,20539]"] [actionTypes="[2,2,2,2,2]"] [diffTypes="[\"drop schema\",\"drop schema\",\"drop schema\"]"]
[2024/05/07 05:35:06.960 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295242] [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/07 05:35:06.960 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295242] [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/07 05:35:06.960 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295242] [schemaVersion=24676] [cur_db=test] [sql="create database `window_function`"] [user=root@%]
[2024/05/07 05:35:06.973 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20543, Type:create schema, State:queueing, SchemaState:none, SchemaID:20542, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-07 05:35:06.969 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:06.973 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20543, Type:create schema, State:queueing, SchemaState:none, SchemaID:20542, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-07 05:35:06.969 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database `window_function`"]
[2024/05/07 05:35:07.000 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20543] [conn=1625295242] [category=ddl] [job="ID:20543, Type:create schema, State:queueing, SchemaState:none, SchemaID:20542, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.969 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.020 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20543] [conn=1625295242] [job="ID:20543, Type:create schema, State:synced, SchemaState:public, SchemaID:20542, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:06.969 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.023 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20543]
[2024/05/07 05:35:07.023 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:07.024 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24676] [neededSchemaVersion=24677] ["start time"=195.152µs] [gotSchemaVersion=24677] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"]
[2024/05/07 05:35:07.025 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/07 05:35:07.026 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/07 05:35:07.026 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295246] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/07 05:35:07.026 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295246] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/07 05:35:07.027 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295246] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SELECT tidb_version()"]
[2024/05/07 05:35:07.027 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_init_chunk_size`=1"]
[2024/05/07 05:35:07.027 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_max_chunk_size`=32"]
[2024/05/07 05:35:07.027 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_multi_statement_mode`=1"]
[2024/05/07 05:35:07.027 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_hash_join_concurrency`=1"]
[2024/05/07 05:35:07.027 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_enable_pseudo_for_outdated_stats`=FALSE"]
[2024/05/07 05:35:07.027 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_enable_analyze_snapshot`=1"]
[2024/05/07 05:35:07.027 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_enable_clustered_index`=_UTF8MB4'int_only'"]
[2024/05/07 05:35:07.028 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24677] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `window_function`"]
[2024/05/07 05:35:07.028 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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_cost_model_version`=1"]
[2024/05/07 05:35:07.028 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295244] [schemaVersion=24677] [cur_db=window_function] [sql="drop table if exists t;"] [user=root@%]
[2024/05/07 05:35:07.029 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295244] [schemaVersion=24677] [cur_db=window_function] [sql="create table t (a int, b int, c timestamp, index idx(a));"] [user=root@%]
[2024/05/07 05:35:07.042 +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:20542, TableID:20544, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:07.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:07.042 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20545, Type:create table, State:queueing, SchemaState:none, SchemaID:20542, TableID:20544, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:07.019 +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/07 05:35:07.067 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20545] [conn=1625295244] [category=ddl] [job="ID:20545, Type:create table, State:queueing, SchemaState:none, SchemaID:20542, TableID:20544, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:07.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.087 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20545] [conn=1625295244] [job="ID:20545, Type:create table, State:synced, SchemaState:public, SchemaID:20542, TableID:20544, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:07.019 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.090 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20545]
[2024/05/07 05:35:07.090 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:07.090 +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/07 05:35:07.091 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005040] ["first new region left"="{Id:16678 StartKey:7480000000000050ff3b00000000000000f8 EndKey:7480000000000050ff4000000000000000f8 RegionEpoch:{ConfVer:1 Version:8072} Peers:[id:16679 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:07.091 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16678]"]
[2024/05/07 05:35:07.092 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24677] [neededSchemaVersion=24678] ["start time"=593.891µs] [gotSchemaVersion=24678] [phyTblIDs="[20544]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:07.097 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_enable_window_function`=1"]
[2024/05/07 05:35:07.098 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_window_concurrency`=1"]
[2024/05/07 05:35:07.098 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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() from t;"]
[2024/05/07 05:35:07.099 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a) from t;"]
[2024/05/07 05:35:07.099 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by b) from t;"]
[2024/05/07 05:35:07.099 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by b rows unbounded preceding) from t;"]
[2024/05/07 05:35:07.100 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by b rows between 1 preceding and 1 following) from t;"]
[2024/05/07 05:35:07.100 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by b range between 1 preceding and 1 following) from t;"]
[2024/05/07 05:35:07.101 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by c range between interval '2:30' minute_second preceding and interval '2:30' minute_second following) from t;"]
[2024/05/07 05:35:07.101 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24678] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`tidb_window_concurrency`=4"]
[2024/05/07 05:35:07.101 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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() from t;"]
[2024/05/07 05:35:07.102 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a) from t;"]
[2024/05/07 05:35:07.102 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by b) from t;"]
[2024/05/07 05:35:07.103 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by b rows unbounded preceding) from t;"]
[2024/05/07 05:35:07.103 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by b rows between 1 preceding and 1 following) from t;"]
[2024/05/07 05:35:07.104 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by b range between 1 preceding and 1 following) from t;"]
[2024/05/07 05:35:07.104 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [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 a order by c range between interval '2:30' minute_second preceding and interval '2:30' minute_second following) from t;"]
[2024/05/07 05:35:07.105 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295244] [schemaVersion=24678] [cur_db=window_function] [sql="drop table if exists t1;"] [user=root@%]
[2024/05/07 05:35:07.105 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295244] [schemaVersion=24678] [cur_db=window_function] [sql="create table t1(a int primary key, b int);"] [user=root@%]
[2024/05/07 05:35:07.118 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20547, Type:create table, State:queueing, SchemaState:none, SchemaID:20542, TableID:20546, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:07.069 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:07.118 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20547, Type:create table, State:queueing, SchemaState:none, SchemaID:20542, TableID:20546, RowCount:0, ArgLen:2, start time: 2024-05-07 05:35:07.069 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a int primary key, b int);"]
[2024/05/07 05:35:07.139 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20547] [conn=1625295244] [category=ddl] [job="ID:20547, Type:create table, State:queueing, SchemaState:none, SchemaID:20542, TableID:20546, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:07.069 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.159 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20547] [conn=1625295244] [job="ID:20547, Type:create table, State:synced, SchemaState:public, SchemaID:20542, TableID:20546, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:07.069 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.162 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20547]
[2024/05/07 05:35:07.162 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:07.162 +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"=748000000000005042]
[2024/05/07 05:35:07.163 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24678] [neededSchemaVersion=24679] ["start time"=457.288µs] [gotSchemaVersion=24679] [phyTblIDs="[20546]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"]
[2024/05/07 05:35:07.164 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24679] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t1 values(1, 1), (2, 1);"]
[2024/05/07 05:35:07.165 +08:00] [WARN] [prewrite.go:382] ["1pc failed and fallbacks to normal commit procedure"] [conn=1625295244] [session_alias=] [startTS=449585166973665300]
[2024/05/07 05:35:07.165 +08:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000005042] ["first new region left"="{Id:16680 StartKey:7480000000000050ff4000000000000000f8 EndKey:7480000000000050ff4200000000000000f8 RegionEpoch:{ConfVer:1 Version:8073} Peers:[id:16681 store_id:1 ] EncryptionMeta:<nil> IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1]
[2024/05/07 05:35:07.166 +08:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16680]"]
[2024/05/07 05:35:07.166 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24679] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t1;"]
[2024/05/07 05:35:07.191 +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/07 05:35:07.172 +08:00] ["end time"=2024/05/07 05:35:07.189 +08:00] [cost=16.753713ms] ["sample rate reason"="use min(1, 110000/10000) as the sample-rate=1"]
[2024/05/07 05:35:07.201 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24679] [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/07 05:35:07.201 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24679] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="insert into t1 values(3, 3);"]
[2024/05/07 05:35:07.202 +08:00] [WARN] [prewrite.go:382] ["1pc failed and fallbacks to normal commit procedure"] [conn=1625295244] [session_alias=] [startTS=449585166986772509]
[2024/05/07 05:35:07.203 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24679] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=window_function] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="analyze table t1;"]
[2024/05/07 05:35:07.208 +08:00] [INFO] [save.go:200] ["incrementally update modifyCount"] [category=stats] [tableID=20546] [curModifyCnt=0] [results.BaseModifyCnt=0] [modifyCount=0]
[2024/05/07 05:35:07.208 +08:00] [INFO] [save.go:211] ["incrementally update count"] [category=stats] [tableID=20546] [curCnt=2] [results.Count=3] [results.BaseCount=2] [count=3]
[2024/05/07 05:35:07.224 +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/07 05:35:07.205 +08:00] ["end time"=2024/05/07 05:35:07.223 +08:00] [cost=17.378111ms] ["sample rate reason"="use min(1, 110000/2) as the sample-rate=1"]
[2024/05/07 05:35:07.233 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295244] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24679] [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/07 05:35:07.234 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295248] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24679] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="use `test`"]
[2024/05/07 05:35:07.234 +08:00] [INFO] [session.go:3971] [GENERAL_LOG] [conn=1625295248] [session_alias=] [user=root@127.0.0.1] [schemaVersion=24679] [txnStartTS=0] [forUpdateTS=0] [isReadConsistency=false] [currentDB=test] [isPessimistic=false] [sessionTxnMode=PESSIMISTIC] [sql="SET @@SESSION.`time_zone`=_UTF8MB4'Asia/Shanghai'"]
[2024/05/07 05:35:07.234 +08:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1625295248] [schemaVersion=24679] [cur_db=test] [sql="drop database `window_function`"] [user=root@%]
[2024/05/07 05:35:07.246 +08:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:20548, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20542, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-07 05:35:07.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/07 05:35:07.246 +08:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:20548, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20542, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-07 05:35:07.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database `window_function`"]
[2024/05/07 05:35:07.266 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20548] [conn=1625295248] [category=ddl] [job="ID:20548, Type:drop schema, State:queueing, SchemaState:public, SchemaID:20542, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:07.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.295 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20548] [conn=1625295248] [category=ddl] [job="ID:20548, Type:drop schema, State:running, SchemaState:write only, SchemaID:20542, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:07.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.315 +08:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20548] [conn=1625295248] [category=ddl] [job="ID:20548, Type:drop schema, State:running, SchemaState:delete only, SchemaID:20542, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-07 05:35:07.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.335 +08:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=20548] [tableIDs="[20544,20546]"] [comment="drop schema: table IDs"]
[2024/05/07 05:35:07.338 +08:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=20548] [jobType="drop schema"]
[2024/05/07 05:35:07.339 +08:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 4, tp general"] [category=ddl] [jobID=20548] [conn=1625295248] [job="ID:20548, Type:drop schema, State:synced, SchemaState:none, SchemaID:20542, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-07 05:35:07.219 +0800 CST, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/07 05:35:07.341 +08:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=20548]
[2024/05/07 05:35:07.341 +08:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/07 05:35:07.343 +08:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24679] [neededSchemaVersion=24682] ["start time"=448.789µs] [gotSchemaVersion=24682] [phyTblIDs="[20544,20546]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\",\"drop schema\",\"drop schema\"]"]
[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] }
Failed in branch Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh y'
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE