Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add index failed with cancelled error #47967

Closed
aytrack opened this issue Oct 25, 2023 · 2 comments · Fixed by #48271
Closed

add index failed with cancelled error #47967

aytrack opened this issue Oct 25, 2023 · 2 comments · Fixed by #48271
Assignees
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. feature/developing the related feature is in development severity/critical type/bug The issue is confirmed as a bug.

Comments

@aytrack
Copy link
Contributor

aytrack commented Oct 25, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

deploy cluster Enable TLS between TiDB Components

drop table if exists t;
create table t(a char(10), b varchar(255), c text(30), d tinytext, e longtext, f mediumtext) charset utf8mb4 collate utf8mb4_unicode_ci;
insert into t values('AAAAAbbbbb', 'AAAAAbbbbb', 'AAAAAbbbbb', 'AAAAAbbbbb', 'AAAAAbbbbb', 'AAAAAbbbbb');
create index idx_a on t (a(5));
create index idx_c on t (c(5));
create index idx_f on t (f(5));
alter table t add index idx_b(b(5));

2. What did you expect to see? (Required)

All ddl execute success

3. What did you see instead (Required)

add index may failed with error 8214, 'Cancelled DDL job' without any cancel SQL

[15:13:18]TiDB root:test> alter table t add index idx_b(b(5));
(8214, 'Cancelled DDL job')

you may need run many times to reproduce this.

tidb log

[2023/10/25 06:47:24.646 +00:00] [INFO] [ddl.go:1088] ["start DDL job"] [category=ddl] [job="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:200, TableID:220, RowCount:0, ArgLen:6, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [query="alter table t add index idx_b(b(5));"]
[2023/10/25 06:47:24.654 +00:00] [INFO] [ddl_worker.go:994] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [category=ddl] [job="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:200, TableID:220, RowCount:0, ArgLen:0, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"]
[2023/10/25 06:47:24.656 +00:00] [INFO] [index.go:628] ["run add index job"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:none, SchemaID:200, TableID:220, RowCount:0, ArgLen:6, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"idx_b\",\"L\":\"idx_b\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"b\",\"L\":\"b\"},\"offset\":1,\"length\":5}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"]
[2023/10/25 06:47:24.656 +00:00] [INFO] [config.go:115] ["initial memory setting for ingest"] [category=ddl-ingest] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["range concurrency"=16]
[2023/10/25 06:47:24.656 +00:00] [INFO] [config.go:130] ["change memory setting for ingest"] [category=ddl-ingest] ["local writer memory cache size"=67108864] ["engine memory cache size"=268435456] ["range concurrency"=16]
[2023/10/25 06:47:24.656 +00:00] [INFO] [backend_mgr.go:129] ["create local backend for adding index"] [category=ddl-ingest] [keyspaceName=]
[2023/10/25 06:47:24.670 +00:00] [INFO] [pd_service_discovery.go:606] ["[pd] update member urls"] [old-urls="[http://collation-pd:2379]"] [new-urls="[https://collation-pd-0.collation-pd-peer.oltp-collation-auto-tps-3540193-1-606.svc:2379]"]
[2023/10/25 06:47:24.671 +00:00] [INFO] [pd_service_discovery.go:632] ["[pd] switch leader"] [new-leader=https://collation-pd-0.collation-pd-peer.oltp-collation-auto-tps-3540193-1-606.svc:2379] [old-leader=]
[2023/10/25 06:47:24.671 +00:00] [INFO] [pd_service_discovery.go:197] ["[pd] init cluster id"] [cluster-id=7293781272508498374]
[2023/10/25 06:47:24.680 +00:00] [INFO] [client.go:600] ["[pd] changing service mode"] [old-mode=UNKNOWN_SVC_MODE] [new-mode=PD_SVC_MODE]
[2023/10/25 06:47:24.680 +00:00] [INFO] [tso_client.go:230] ["[tso] switch dc tso global allocator serving address"] [dc-location=global] [new-address=https://collation-pd-0.collation-pd-peer.oltp-collation-auto-tps-3540193-1-606.svc:2379]
[2023/10/25 06:47:24.681 +00:00] [INFO] [tso_dispatcher.go:318] ["[tso] tso dispatcher created"] [dc-location=global]
[2023/10/25 06:47:24.681 +00:00] [INFO] [client.go:648] ["[pd] service mode changed"] [old-mode=UNKNOWN_SVC_MODE] [new-mode=PD_SVC_MODE]
[2023/10/25 06:47:24.691 +00:00] [INFO] [local.go:698] ["multi ingest support"]
[2023/10/25 06:47:24.691 +00:00] [INFO] [backend_mgr.go:113] ["create one backend for an DDL job"] [category=ddl-ingest] ["job ID"=225] ["current memory usage"=176] ["max memory quota"=2147483648] ["is unique index"=false]
[2023/10/25 06:47:24.702 +00:00] [INFO] [domain.go:262] ["diff load InfoSchema success"] [currentSchemaVersion=518] [neededSchemaVersion=519] ["start time"=1.552801ms] [gotSchemaVersion=519] [phyTblIDs="[220]"] [actionTypes="[7]"]
[2023/10/25 06:47:24.704 +00:00] [INFO] [domain.go:860] ["mdl gets lock, update to owner"] [jobID=225] [version=519]
[2023/10/25 06:47:24.750 +00:00] [INFO] [ddl_worker.go:1228] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=519] ["take time"=52.120413ms] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:200, TableID:220, RowCount:0, ArgLen:6, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"]
[2023/10/25 06:47:24.758 +00:00] [INFO] [ddl_worker.go:994] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:200, TableID:220, RowCount:0, ArgLen:0, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"]
[2023/10/25 06:47:24.767 +00:00] [INFO] [domain.go:262] ["diff load InfoSchema success"] [currentSchemaVersion=519] [neededSchemaVersion=520] ["start time"=927.919µs] [gotSchemaVersion=520] [phyTblIDs="[220]"] [actionTypes="[7]"]
[2023/10/25 06:47:24.769 +00:00] [INFO] [domain.go:860] ["mdl gets lock, update to owner"] [jobID=225] [version=520]
[2023/10/25 06:47:24.817 +00:00] [INFO] [ddl_worker.go:1228] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=520] ["take time"=52.172521ms] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:200, TableID:220, RowCount:0, ArgLen:6, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"]
[2023/10/25 06:47:24.825 +00:00] [INFO] [ddl_worker.go:994] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:200, TableID:220, RowCount:0, ArgLen:0, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"]
[2023/10/25 06:47:24.835 +00:00] [INFO] [domain.go:262] ["diff load InfoSchema success"] [currentSchemaVersion=520] [neededSchemaVersion=521] ["start time"=981.055µs] [gotSchemaVersion=521] [phyTblIDs="[220]"] [actionTypes="[7]"]
[2023/10/25 06:47:24.837 +00:00] [INFO] [domain.go:860] ["mdl gets lock, update to owner"] [jobID=225] [version=521]
[2023/10/25 06:47:24.884 +00:00] [INFO] [ddl_worker.go:1228] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=521] ["take time"=51.929209ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:200, TableID:220, RowCount:0, ArgLen:6, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"]
[2023/10/25 06:47:24.892 +00:00] [INFO] [ddl_worker.go:994] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:200, TableID:220, RowCount:0, ArgLen:0, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, UniqueWarnings:0"]
[2023/10/25 06:47:24.894 +00:00] [INFO] [index.go:891] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=true] [index=idx_b]
[2023/10/25 06:47:24.895 +00:00] [INFO] [reorg.go:706] ["job get table range"] [category=ddl] [jobID=225] [physicalTableID=220] [startKey=7480000000000000dc5f728000000000000001] [endKey=7480000000000000dc5f72800000000000000100]
[2023/10/25 06:47:24.899 +00:00] [INFO] [ddl_worker.go:1205] ["schema version doesn't change"] [category=ddl]
[2023/10/25 06:47:24.905 +00:00] [INFO] [ddl_worker.go:994] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:200, TableID:220, RowCount:0, ArgLen:0, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:445177251727409158, UniqueWarnings:0"]
[2023/10/25 06:47:24.906 +00:00] [INFO] [index.go:891] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=true] [index=idx_b]
[2023/10/25 06:47:24.910 +00:00] [INFO] [checkpoint.go:312] ["resume checkpoint"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["local checkpoint"=] ["global checkpoint"=] ["physical table ID"=220] ["previous instance"=] ["current instance"=collation-tidb-0.collation-tidb-peer.oltp-collation-auto-tps-3540193-1-606.svc:4000:/tmp/tidb]
[2023/10/25 06:47:24.910 +00:00] [INFO] [checkpoint.go:116] ["create checkpoint manager"] [category=ddl-ingest] [jobID=225] [indexID=4]
[2023/10/25 06:47:24.911 +00:00] [INFO] [job_table.go:628] ["resume physical table ID from checkpoint"] [category=ddl-ingest] [jobID=225] [start=7480000000000000dc5f728000000000000001] [end=7480000000000000dc5f72800000000000000100] ["checkpoint physical ID"=220]
[2023/10/25 06:47:24.911 +00:00] [INFO] [index.go:1961] ["start to add table index"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:200, TableID:220, RowCount:0, ArgLen:6, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:445177251727409158, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000dc5f728000000000000001,EndKey:7480000000000000dc5f72800000000000000100,First:false,PhysicalTableID:220,Ingest mode:true"]
[2023/10/25 06:47:24.911 +00:00] [INFO] [checkpoint.go:238] ["reset checkpoint manager"] [category=ddl-ingest] [newPhysicalID=220] [oldPhysicalID=0] [indexID=4] [jobID=225] [localCnt=0]
[2023/10/25 06:47:24.915 +00:00] [INFO] [backend.go:245] ["open engine"] [engineTag=t:4] [engineUUID=6feef446-758a-53a2-b984-84538bfd8439]
[2023/10/25 06:47:24.915 +00:00] [INFO] [engine_mgr.go:71] ["open an engine for index reorg task"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["current memory usage"=335544632] ["memory limitation"=2147483648] ["current writer count"=1]
[2023/10/25 06:47:24.930 +00:00] [INFO] [engine.go:189] ["create one local writer for index reorg task"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["worker ID"=0] ["allocate memory"=40] ["current memory usage"=335544672] ["max memory quota"=2147483648]
[2023/10/25 06:47:24.930 +00:00] [INFO] [engine_mgr.go:71] ["reuse engine and add a writer for index reorg task"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["current memory usage"=402653536] ["memory limitation"=2147483648] ["current writer count"=2]
[2023/10/25 06:47:24.943 +00:00] [INFO] [engine.go:189] ["create one local writer for index reorg task"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["worker ID"=1] ["allocate memory"=40] ["current memory usage"=402653576] ["max memory quota"=2147483648]
[2023/10/25 06:47:24.944 +00:00] [INFO] [engine_mgr.go:71] ["reuse engine and add a writer for index reorg task"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["current memory usage"=469762440] ["memory limitation"=2147483648] ["current writer count"=3]
[2023/10/25 06:47:24.958 +00:00] [INFO] [engine.go:189] ["create one local writer for index reorg task"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["worker ID"=2] ["allocate memory"=40] ["current memory usage"=469762480] ["max memory quota"=2147483648]
[2023/10/25 06:47:24.958 +00:00] [INFO] [engine_mgr.go:71] ["reuse engine and add a writer for index reorg task"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["current memory usage"=536871344] ["memory limitation"=2147483648] ["current writer count"=4]
[2023/10/25 06:47:24.973 +00:00] [INFO] [engine.go:189] ["create one local writer for index reorg task"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["worker ID"=3] ["allocate memory"=40] ["current memory usage"=536871384] ["max memory quota"=2147483648]
[2023/10/25 06:47:24.973 +00:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=220] ["start key"=7480000000000000dc5f728000000000000001] ["end key"=7480000000000000dc5f72800000000000000100]
[2023/10/25 06:47:24.973 +00:00] [INFO] [backfilling.go:712] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000dc5f728000000000000001] [endKey=7480000000000000dc5f72800000000000000100]
[2023/10/25 06:47:24.973 +00:00] [INFO] [backfilling.go:561] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=220] ["end key"=7480000000000000dc5f72800000000000000100] ["current end key"=7480000000000000dc5f72800000000000000100]
[2023/10/25 06:47:24.973 +00:00] [INFO] [index_cop.go:236] ["close cop-request sender pool"] [category=ddl-ingest] [force=false]
[2023/10/25 06:47:24.973 +00:00] [INFO] [index_cop.go:133] ["start a cop-request task"] [category=ddl-ingest] [id=1] [task="taskID: 1, physicalTableID: 220, range: [7480000000000000dc5f728000000000000001, 7480000000000000dc5f72800000000000000100), jobID: 225"]
[2023/10/25 06:47:24.974 +00:00] [INFO] [backfilling_scheduler.go:506] ["finish a cop-request task"] [category=ddl-ingest] [id=1]
[2023/10/25 06:47:24.975 +00:00] [INFO] [engine.go:861] ["write data to local DB"] [size=62] [kvs=1] [files=1] [sstFileSize=971] [file=/tmp/tidb/tmp_ddl-4000/225/6feef446-758a-53a2-b984-84538bfd8439.sst/1c8dccbc-9b02-484c-841b-87bdbb8c7028.sst] [firstKey=7480000000000000DC5F698000000000000004010E330E330E330E33FF0E33000000000000F9038000000000000001] [lastKey=7480000000000000DC5F698000000000000004010E330E330E330E33FF0E33000000000000F9038000000000000001]
[2023/10/25 06:47:24.979 +00:00] [INFO] [checkpoint.go:378] ["update checkpoint"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["local checkpoint"=7480000000000000dc5f72800000000000000100] ["global checkpoint"=] ["global physical ID"=220] []
[2023/10/25 06:47:24.979 +00:00] [INFO] [backfilling.go:445] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=1] ["start key"=7480000000000000dc5f728000000000000001]
[2023/10/25 06:47:24.979 +00:00] [INFO] [reorg.go:233] ["run reorg job done"] [category=ddl] ["handled rows"=1]
[2023/10/25 06:47:24.986 +00:00] [INFO] [engine.go:124] ["flush all writer and get closed engine"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4]
[2023/10/25 06:47:24.986 +00:00] [INFO] [backend.go:322] ["engine close start"] [engineTag=t:4] [engineUUID=6feef446-758a-53a2-b984-84538bfd8439]
[2023/10/25 06:47:24.986 +00:00] [INFO] [backend.go:324] ["engine close completed"] [engineTag=t:4] [engineUUID=6feef446-758a-53a2-b984-84538bfd8439] [takeTime=677.359µs] []
[2023/10/25 06:47:24.986 +00:00] [INFO] [engine.go:141] ["start to import data"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] ["split region size"=100663296]
[2023/10/25 06:47:24.986 +00:00] [INFO] [backend.go:364] ["import start"] [engineTag=t:4] [engineUUID=6feef446-758a-53a2-b984-84538bfd8439] [retryCnt=0]
[2023/10/25 06:47:24.992 +00:00] [INFO] [local.go:1513] ["pause pd scheduler of table scope"]
[2023/10/25 06:47:25.000 +00:00] [INFO] [local.go:1551] ["start import engine"] [uuid=6feef446-758a-53a2-b984-84538bfd8439] ["region ranges"=1] [count=1] [size=62]
[2023/10/25 06:47:25.000 +00:00] [INFO] [local.go:1118] ["import engine ranges"] [count=1]
[2023/10/25 06:47:25.000 +00:00] [INFO] [local.go:1131] ["split and scatter ranges start"] [uuid=6feef446-758a-53a2-b984-84538bfd8439]
[2023/10/25 06:47:25.000 +00:00] [INFO] [localhelper.go:160] ["split and scatter region"] [minKey=7480000000000000FFDC5F698000000000FF000004010E330E33FF0E330E33FF0E3300FF0000000000F90380FF0000000000000100FE] [maxKey=7480000000000000FFDC5F698000000000FF000004010E330E33FF0E330E33FF0E3300FF0000000000F90380FF0000000000000100FF0000000000000000F7] [retry=0]
[2023/10/25 06:47:25.001 +00:00] [INFO] [localhelper.go:179] ["paginate scan regions"] [count=1] [start=7480000000000000FFDC5F698000000000FF000004010E330E33FF0E330E33FF0E3300FF0000000000F90380FF0000000000000100FE] [end=7480000000000000FFDC5F698000000000FF000004010E330E33FF0E330E33FF0E3300FF0000000000F90380FF0000000000000100FF0000000000000000F7]
[2023/10/25 06:47:25.001 +00:00] [INFO] [localhelper.go:187] ["paginate scan region finished"] [minKey=7480000000000000FFDC5F698000000000FF000004010E330E33FF0E330E33FF0E3300FF0000000000F90380FF0000000000000100FE] [maxKey=7480000000000000FFDC5F698000000000FF000004010E330E33FF0E330E33FF0E3300FF0000000000F90380FF0000000000000100FF0000000000000000F7] [regions=1]
[2023/10/25 06:47:25.001 +00:00] [INFO] [localhelper.go:360] ["waiting for scattering regions done"] [regions=1] [take=380.363µs]
[2023/10/25 06:47:25.001 +00:00] [INFO] [local.go:1145] ["split and scatter ranges completed"] [uuid=6feef446-758a-53a2-b984-84538bfd8439] [takeTime=964.431µs] []
[2023/10/25 06:47:25.008 +00:00] [INFO] [local.go:1654] ["put job back to jobCh to retry later"] [startKey=7480000000000000DC5F698000000000000004010E330E330E330E33FF0E33000000000000F9038000000000000001] [endKey=7480000000000000DC5F698000000000000004010E330E330E330E33FF0E33000000000000F903800000000000000100] [stage=regionScanned] [retryCount=1] [waitUntil=2023/10/25 06:47:27.008 +00:00]
[2023/10/25 06:47:25.009 +00:00] [ERROR] [engine.go:150] ["ingest data into storage error"] [category=ddl-ingest] [error="peer 23, store 1, region 22, epoch conf_ver:1 version:210 : rpc error: code = Canceled desc = CANCELLED"] ["job ID"=225] ["index ID"=4]
[2023/10/25 06:47:25.009 +00:00] [WARN] [index.go:987] ["lightning import error"] [category=ddl] [error="peer 23, store 1, region 22, epoch conf_ver:1 version:210 : rpc error: code = Canceled desc = CANCELLED"]
[2023/10/25 06:47:25.009 +00:00] [WARN] [ddl_worker.go:956] ["run DDL job error"] [worker="worker 6, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [error="peer 23, store 1, region 22, epoch conf_ver:1 version:210 : rpc error: code = Canceled desc = CANCELLED"]
[2023/10/25 06:47:25.013 +00:00] [INFO] [ddl_worker.go:841] ["run DDL job failed, sleeps a while then retries it."] [worker="worker 6, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [waitTime=1s] [error="peer 23, store 1, region 22, epoch conf_ver:1 version:210 : rpc error: code = Canceled desc = CANCELLED"]
[2023/10/25 06:47:26.014 +00:00] [INFO] [ddl_worker.go:1205] ["schema version doesn't change"] [category=ddl]
[2023/10/25 06:47:26.021 +00:00] [INFO] [ddl_worker.go:994] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:200, TableID:220, RowCount:1, ArgLen:0, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:-1]peer 23, store 1, region 22, epoch conf_ver:1 version:210 : rpc error: code = Canceled desc = CANCELLED, ErrCount:1, SnapshotVersion:445177251727409158, UniqueWarnings:0"]
[2023/10/25 06:47:26.022 +00:00] [INFO] [index.go:891] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=true] [index=idx_b]
[2023/10/25 06:47:26.026 +00:00] [INFO] [job_table.go:628] ["resume physical table ID from checkpoint"] [category=ddl-ingest] [jobID=225] [start=7480000000000000dc5f728000000000000001] [end=7480000000000000dc5f72800000000000000100] ["checkpoint physical ID"=220]
[2023/10/25 06:47:26.026 +00:00] [INFO] [index.go:1961] ["start to add table index"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:200, TableID:220, RowCount:1, ArgLen:6, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:-1]peer 23, store 1, region 22, epoch conf_ver:1 version:210 : rpc error: code = Canceled desc = CANCELLED, ErrCount:1, SnapshotVersion:445177251727409158, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000dc5f728000000000000001,EndKey:7480000000000000dc5f72800000000000000100,First:false,PhysicalTableID:220,Ingest mode:true"]
[2023/10/25 06:47:26.026 +00:00] [INFO] [checkpoint.go:238] ["reset checkpoint manager"] [category=ddl-ingest] [newPhysicalID=220] [oldPhysicalID=220] [indexID=4] [jobID=225] [localCnt=1]
[2023/10/25 06:47:26.027 +00:00] [WARN] [engine_mgr.go:50] ["build ingest engine failed"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] [error="lock held by current process"]
[2023/10/25 06:47:26.027 +00:00] [WARN] [backfilling.go:485] ["backfill worker failed"] [category=ddl] ["job ID"=225] ["result next key"=] [error="lock held by current process"]
[2023/10/25 06:47:26.027 +00:00] [WARN] [engine_mgr.go:50] ["build ingest engine failed"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] [error="lock held by current process"]
[2023/10/25 06:47:26.027 +00:00] [WARN] [backfilling.go:485] ["backfill worker failed"] [category=ddl] ["job ID"=225] ["result next key"=] [error="lock held by current process"]
[2023/10/25 06:47:26.027 +00:00] [WARN] [engine_mgr.go:50] ["build ingest engine failed"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] [error="lock held by current process"]
[2023/10/25 06:47:26.028 +00:00] [WARN] [engine_mgr.go:50] ["build ingest engine failed"] [category=ddl-ingest] ["job ID"=225] ["index ID"=4] [error="lock held by current process"]
[2023/10/25 06:47:26.028 +00:00] [WARN] [backfilling.go:485] ["backfill worker failed"] [category=ddl] ["job ID"=225] ["result next key"=] [error="lock held by current process"]
[2023/10/25 06:47:26.028 +00:00] [WARN] [backfilling.go:485] ["backfill worker failed"] [category=ddl] ["job ID"=225] ["result next key"=] [error="lock held by current process"]
[2023/10/25 06:47:26.028 +00:00] [INFO] [backfilling.go:387] ["split table range from PD"] [category=ddl] [physicalTableID=220] ["start key"=7480000000000000dc5f728000000000000001] ["end key"=7480000000000000dc5f72800000000000000100]
[2023/10/25 06:47:26.028 +00:00] [INFO] [backfilling.go:712] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000dc5f728000000000000001] [endKey=7480000000000000dc5f72800000000000000100]
[2023/10/25 06:47:26.028 +00:00] [INFO] [region_request.go:1532] ["send request meet region error without retry"] [req-ts=18446744073709551615] [req-type=Scan] [region="{ region id: 22, ver: 210, confVer: 1 }"] [replica-read-type=leader] [stale-read=false] [request-sender="{rpcError:<nil>,replicaSelector: replicaSelector{selectorStateStr: accessKnownLeader, cacheRegionIsValid: false, replicaStatus: [peer: 23, store: 1, isEpochStale: false, attempts: 1, replica-epoch: 0, store-epoch: 0, store-state: resolved, store-liveness-state: reachable]}}"] [retry-times=0] [total-backoff-ms=0] [total-backoff-times=0] [max-exec-timeout-ms=60000] [total-region-errors=23-epoch_not_match:1]
[2023/10/25 06:47:26.029 +00:00] [INFO] [backfilling.go:561] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=220] ["end key"=7480000000000000dc5f72800000000000000100] ["current end key"=7480000000000000dc5f72800000000000000100]
[2023/10/25 06:47:26.029 +00:00] [INFO] [index_cop.go:236] ["close cop-request sender pool"] [category=ddl-ingest] [force=false]
[2023/10/25 06:47:26.029 +00:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=ddl] [funcInfo=onCreateIndex] [r="close of closed channel"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/util/misc.go:120\nruntime.gopanic\n\t/usr/local/go/src/runtime/panic.go:914\nruntime.closechan\n\t/usr/local/go/src/runtime/chan.go:365\ngithub.com/pingcap/tidb/pkg/ddl.(*ingestBackfillScheduler).close\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/backfilling_scheduler.go:336\nruntime.gopanic\n\t/usr/local/go/src/runtime/panic.go:914\nruntime.panicmem\n\t/usr/local/go/src/runtime/panic.go:261\nruntime.sigpanic\n\t/usr/local/go/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/br/pkg/lightning/backend.(*OpenedEngine).Flush\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/br/pkg/lightning/backend/backend.go:287\ngithub.com/pingcap/tidb/pkg/ddl/ingest.(*engineInfo).Flush\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/ingest/engine.go:86\ngithub.com/pingcap/tidb/pkg/ddl/ingest.(*litBackendCtx).Flush\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/ingest/backend.go:185\ngithub.com/pingcap/tidb/pkg/ddl/ingest.(*CheckpointManager).Sync\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/ingest/checkpoint.go:221\ngithub.com/pingcap/tidb/pkg/ddl.(*ingestBackfillScheduler).close\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/backfilling_scheduler.go:344\ngithub.com/pingcap/tidb/pkg/ddl.(*ddlCtx).writePhysicalTableRecord\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/backfilling.go:728\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addPhysicalTableIndex\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/index.go:1962\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).addTableIndex\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/index.go:2006\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr.func2\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/index.go:1070\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runReorgJob.func1\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/reorg.go:206"]
[2023/10/25 06:47:26.029 +00:00] [WARN] [index.go:1087] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:200, TableID:220, RowCount:1, ArgLen:6, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:-1]peer 23, store 1, region 22, epoch conf_ver:1 version:210 : rpc error: code = Canceled desc = CANCELLED, ErrCount:1, SnapshotVersion:445177251727409158, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [pd_service_discovery.go:248] ["[pd] exit member loop due to context canceled"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_dispatcher.go:186] ["exit tso requests cancel loop"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_dispatcher.go:405] ["[tso] stop fetching the pending tso requests due to context canceled"] [dc-location=global]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_dispatcher.go:339] ["[tso] exit tso dispatcher"] [dc-location=global]
[2023/10/25 06:47:26.033 +00:00] [INFO] [resource_manager_client.go:314] ["[resource manager] exit resource token dispatcher"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_client.go:134] ["closing tso client"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_dispatcher.go:240] ["exit tso dispatcher loop"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_client.go:139] ["close tso client"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_client.go:150] ["tso client is closed"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [pd_service_discovery.go:294] ["[pd] close pd service discovery client"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_client.go:134] ["closing tso client"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_client.go:139] ["close tso client"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [tso_client.go:150] ["tso client is closed"]
[2023/10/25 06:47:26.033 +00:00] [INFO] [checkpoint.go:215] ["close checkpoint manager"] [category=ddl-ingest] [jobID=225] [indexID=4]
[2023/10/25 06:47:26.033 +00:00] [INFO] [backend_mgr.go:174] ["close one backend for DDL job"] [category=ddl-ingest] ["job ID"=225] ["current memory usage"=0] ["max memory quota"=2147483648]
[2023/10/25 06:47:26.036 +00:00] [WARN] [index.go:968] ["run reorg job failed, convert job to rollback"] [category=ddl] [job="ID:225, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:200, TableID:220, RowCount:1, ArgLen:3, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:-1]peer 23, store 1, region 22, epoch conf_ver:1 version:210 : rpc error: code = Canceled desc = CANCELLED, ErrCount:1, SnapshotVersion:445177251727409158, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"]
[2023/10/25 06:47:26.037 +00:00] [WARN] [ddl_worker.go:956] ["run DDL job error"] [worker="worker 5, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [error="[ddl:8214]Cancelled DDL job"]
[2023/10/25 06:47:26.040 +00:00] [INFO] [ddl_worker.go:1205] ["schema version doesn't change"] [category=ddl]
[2023/10/25 06:47:26.046 +00:00] [INFO] [ddl_worker.go:994] ["run DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [category=ddl] [job="ID:225, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:200, TableID:220, RowCount:1, ArgLen:0, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:2, SnapshotVersion:445177251727409158, UniqueWarnings:0"]
[2023/10/25 06:47:26.057 +00:00] [INFO] [domain.go:262] ["diff load InfoSchema success"] [currentSchemaVersion=521] [neededSchemaVersion=523] ["start time"=2.065205ms] [gotSchemaVersion=523] [phyTblIDs="[220,220]"] [actionTypes="[7,7]"]
[2023/10/25 06:47:26.060 +00:00] [INFO] [domain.go:860] ["mdl gets lock, update to owner"] [jobID=225] [version=523]
[2023/10/25 06:47:26.105 +00:00] [INFO] [ddl_worker.go:1228] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=523] ["take time"=52.432831ms] [job="ID:225, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:200, TableID:220, RowCount:1, ArgLen:2, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:2, SnapshotVersion:445177251727409158, UniqueWarnings:0"]
[2023/10/25 06:47:26.113 +00:00] [INFO] [ddl_worker.go:994] ["run DDL job"] [worker="worker 5, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [category=ddl] [job="ID:225, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:200, TableID:220, RowCount:1, ArgLen:0, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:2, SnapshotVersion:445177251727409158, UniqueWarnings:0"]
[2023/10/25 06:47:26.124 +00:00] [INFO] [domain.go:262] ["diff load InfoSchema success"] [currentSchemaVersion=523] [neededSchemaVersion=524] ["start time"=1.121746ms] [gotSchemaVersion=524] [phyTblIDs="[220]"] [actionTypes="[7]"]
[2023/10/25 06:47:26.126 +00:00] [INFO] [domain.go:860] ["mdl gets lock, update to owner"] [jobID=225] [version=524]
[2023/10/25 06:47:26.174 +00:00] [INFO] [ddl_worker.go:1228] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=524] ["take time"=52.570966ms] [job="ID:225, Type:add index, State:rollback done, SchemaState:none, SchemaID:200, TableID:220, RowCount:1, ArgLen:2, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:2, SnapshotVersion:445177251727409158, UniqueWarnings:0"]
[2023/10/25 06:47:26.182 +00:00] [INFO] [delete_range.go:464] ["insert into delete-range table"] [category=ddl] [jobID=225] [elementID=1] [comment="physical ID is 220"]
[2023/10/25 06:47:26.184 +00:00] [INFO] [delete_range.go:464] ["insert into delete-range table"] [category=ddl] [jobID=225] [elementID=2] [comment="physical ID is 220"]
[2023/10/25 06:47:26.186 +00:00] [INFO] [delete_range.go:111] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="add index"]
[2023/10/25 06:47:26.186 +00:00] [INFO] [ddl_worker.go:618] ["finish DDL job"] [worker="worker 6, tp add index"] [category=ddl] [jobID=225] [conn=1400897798] [job="ID:225, Type:add index, State:rollback done, SchemaState:none, SchemaID:200, TableID:220, RowCount:1, ArgLen:2, start time: 2023-10-25 06:47:24.633 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:2, SnapshotVersion:445177251727409158, UniqueWarnings:0"]
[2023/10/25 06:47:26.190 +00:00] [INFO] [ddl_worker.go:1205] ["schema version doesn't change"] [category=ddl]
[2023/10/25 06:47:26.191 +00:00] [INFO] [ddl.go:1195] ["DDL job is failed"] [category=ddl] [jobID=225]
[2023/10/25 06:47:26.191 +00:00] [INFO] [tidb.go:285] ["rollbackTxn called due to ddl/autocommit failure"]
[2023/10/25 06:47:26.191 +00:00] [WARN] [session.go:2283] ["run statement failed"] [conn=1400897798] [session_alias=] [schemaVersion=518] [error="[ddl:8214]Cancelled DDL job"] [session="{\n  \"currDBName\": \"TICASE_4668_1670_GAIJNY\",\n  \"id\": 1400897798,\n  \"status\": 2,\n  \"strictMode\": true,\n  \"user\": {\n    \"Username\": \"root\",\n    \"Hostname\": \"10.2.100.15\",\n    \"CurrentUser\": false,\n    \"AuthUsername\": \"root\",\n    \"AuthHostname\": \"%\",\n    \"AuthPlugin\": \"mysql_native_password\"\n  }\n}"]
[2023/10/25 06:47:26.191 +00:00] [INFO] [conn.go:1098] ["command dispatched failed"] [conn=1400897798] [session_alias=] [connInfo="id:1400897798, addr:10.2.100.15:54293 status:10, collation:utf8mb4_general_ci, user:root"] [command=Query] [status="inTxn:0, autocommit:1"] [sql="alter table t add index idx_b(b(5));"] [txn_mode=PESSIMISTIC] [timestamp=445177251661873154] [err="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\t/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20221009092201-b66cddb77c32/errors.go:174\ngithub.com/pingcap/errors.Trace\n\t/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20221009092201-b66cddb77c32/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/ddl.go:1196\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/ddl_api.go:7337\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ddl/ddl_api.go:3711\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/executor/ddl.go:385\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/executor/ddl.go:149\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/executor/internal/exec/executor.go:283\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/executor/adapter.go:1223\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/executor/adapter.go:968\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/session/session.go:2421\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/session/session.go:2271\ngithub.com/pingcap/tidb/pkg/server.(*TiDBContext).ExecuteStmt\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/server/driver_tidb.go:292\ngithub.com/pingcap/tidb/pkg/server.(*clientConn).handleStmt\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/server/conn.go:2010\ngithub.com/pingcap/tidb/pkg/server.(*clientConn).handleQuery\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/server/conn.go:1801\ngithub.com/pingcap/tidb/pkg/server.(*clientConn).dispatch\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/server/conn.go:1288\ngithub.com/pingcap/tidb/pkg/server.(*clientConn).Run\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/server/conn.go:1067\ngithub.com/pingcap/tidb/pkg/server.(*Server).onConn\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/server/server.go:700\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1650"]
[2023/10/25 06:47:26.937 +00:00] [INFO] [domain.go:2830] ["refreshServerIDTTL succeed"] [serverID=668] ["lease id"=75f08b658c739345]

there are some tls handshake error in tikv log

[2023/10/25 07:31:44.396 +00:00] [ERROR] [mod.rs:1009] ["Status server error: TLS handshake error"] [thread_id=0x5]
[2023/10/25 07:32:44.396 +00:00] [ERROR] [mod.rs:1009] ["Status server error: TLS handshake error"] [thread_id=0x5]
[2023/10/25 07:33:44.395 +00:00] [ERROR] [mod.rs:1009] ["Status server error: TLS handshake error"] [thread_id=0x5]
[2023/10/25 07:34:44.395 +00:00] [ERROR] [mod.rs:1009] ["Status server error: TLS handshake error"] [thread_id=0x5]
[2023/10/25 07:35:44.396 +00:00] [ERROR] [mod.rs:1009] ["Status server error: TLS handshake error"] [thread_id=0x5]
[2023/10/25 07:36:44.396 +00:00] [ERROR] [mod.rs:1009] ["Status server error: TLS handshake error"] [thread_id=0x5]

4. What is your TiDB version? (Required)

[15:11:46]TiDB root:(none)> select tidb_version();
+-----------------------------------------------------------+
| tidb_version()                                            |
+-----------------------------------------------------------+
| Release Version: v7.5.0                                   |
| Edition: Community                                        |
| Git Commit Hash: 690ffed7d3cda705a379df31f9979c0d9b72bcd7 |
| Git Branch: heads/refs/tags/v7.5.0                        |
| UTC Build Time: 2023-10-21 00:48:30                       |
| GoVersion: go1.21.3                                       |
| Race Enabled: false                                       |
| Check Table Before Drop: false                            |
| Store: tikv                                               |
+-----------------------------------------------------------+
@aytrack aytrack added type/bug The issue is confirmed as a bug. severity/major component/ddl This issue is related to DDL of TiDB. labels Oct 25, 2023
@ti-chi-bot ti-chi-bot bot added may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 labels Oct 25, 2023
@lance6716
Copy link
Contributor

duplicate with #47701

@lance6716 lance6716 reopened this Oct 25, 2023
@lance6716
Copy link
Contributor

apart from #47701 , this issue reveals more error like "close of closed channel", TLS error

@tangenta tangenta self-assigned this Oct 31, 2023
@tangenta tangenta added feature/developing the related feature is in development and removed may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Oct 31, 2023
ti-chi-bot bot pushed a commit that referenced this issue Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 component/ddl This issue is related to DDL of TiDB. feature/developing the related feature is in development severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants