matrixorigin / matrixone

Hyperconverged cloud-edge native database

Home Page:https://docs.matrixorigin.cn/en

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: ctrl+c hung occasionally when restore.

Ariznawlll opened this issue · comments

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

09c4d95

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

企业微信截图_fc8975b6-da34-4209-ba3f-73884c511ded

Expected Behavior

restore successfully.

Steps to Reproduce

create database big_data_test;
use big_data_test;
create table  if not exists big_data_test.table_basic_for_load_1B( col1 tinyint, col2 smallint, col3 int, col4 bigint, col5 tinyint unsigned, col6 smallint unsigned, col7 int unsigned, col8 bigint unsigned, col9 float, col10 double, col11 varchar(255), col12 Date, col13 DateTime, col14 timestamp, col15 bool, col16 decimal(16,6), col17 text, col18 json, col19 blob, col20 binary(255), col21 varbinary(255), col22 vecf32(3), col23 vecf32(3), col24 vecf64(3), col25 vecf64(3));
load data url s3option {'endpoint'='http://cos.ap-guangzhou.myqcloud.com','access_key_id'='***','secret_access_key'='***','bucket'='mo-load-guangzhou-1308875761', 'filepath'='mo-big-data/1000000000_20_columns_load_data_new.csv'} into table big_data_test.table_basic_for_load_1B fields terminated by '|' lines terminated by '\n' parallel 'true';
(具体的ak sk如有需要,请联系我)
create snapshot sp03 for account sys;

drop database big_data_test;

restore account sys database big_data_test table table_basic_for_load_1b from snapshot sp03;

Additional information

No response

在执行restore过程中,执行ctrl + c, 有导致cn crash的风险
已经提了issue:#17262
企业微信截图_17198888929455

image

本地单CN环境和多CN环境测试没有复现hang住的问题 @Ariznawlll

commit: 580f61a
image
ctrl + c 会hung的问题没有了。出现panic的问题,17262跟踪。