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

[Bug]: ctrl+c during recovery, the recovered table and data exists. #16098

Open
1 task done
Ariznawlll opened this issue May 14, 2024 · 4 comments
Open
1 task done

[Bug]: ctrl+c during recovery, the recovered table and data exists. #16098

Ariznawlll opened this issue May 14, 2024 · 4 comments
Assignees
Labels
kind/bug Something isn't working resolved/v1.2.1 severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Milestone

Comments

@Ariznawlll
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

4257dc6

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

image

Expected Behavior

恢复某表的数据 建表+插入数据应该在一个事务里,如果ctrl+c,事务没结束,不应该成功,此时表恢复失败(表没建成功且表中无数据)

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

@Ariznawlll Ariznawlll added kind/bug Something isn't working needs-triage labels May 14, 2024
@matrix-meow matrix-meow added this to the 1.2.0 milestone May 14, 2024
@Ariznawlll Ariznawlll added the severity/s0 Extreme impact: Cause the application to break down and seriously affect the use label May 14, 2024
@qingxinhome qingxinhome assigned qingxinhome and unassigned YANGGMM May 15, 2024
@aressu1985 aressu1985 modified the milestones: 1.2.0, 1.2.1 May 15, 2024
@qingxinhome
Copy link
Contributor

Pending processing

1 similar comment
@qingxinhome
Copy link
Contributor

Pending processing

@qingxinhome
Copy link
Contributor

Pending processing

@aressu1985
Copy link
Contributor

和松哥沟通,取消操作需要具备原子性,需要再1.2.1解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working resolved/v1.2.1 severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Projects
None yet
Development

No branches or pull requests

6 participants