Skip to content

[Bug]: kill load data statement , data can be found, not rollback #7442

Closed

Description

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.7.0 or 8b23a93):28118d49e6cd3f1b3c3513e2cf39fb19a0e047e7
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

1.select CONNECTION_ID();
image
2. kill query 1006, load data be killed;
image
3.select statement_info query status is failed, kill query successed
image
4.select count table return more than 0 row
image

expect result:kill load data query success, inserted data should be rollback,return 0 rows

Expected Behavior

No response

Steps to Reproduce

create table table_5000w(clo1 tinyint,clo2 smallint,clo3 int,clo4 bigint,clo5 tinyint unsigned,clo6 smallint unsigned,clo7 int unsigned,clo8 bigint unsigned,col9 float,col10 double,col11 varchar(255),col12 Date,
col13 DateTime,col14 timestamp,col15 bool,col16 decimal(5,2),col17 text,col18 varchar(255),col19 varchar(255),col20 varchar(255),unique key uq_01(clo4),key key1(col11),key key2(col12));
load data infile '/Users/heni/test_data/50000000_20_columns_load_data.csv' into table table_5000w;

Additional information

No response

Activity

  1. ghost added
    kind/bug
    on Jan 4, 2023
  2. ghost added
    severity/s1
    on Jan 4, 2023
  3. ghost added this to the v0.7.0 milestone on Jan 4, 2023
  4. ghost changed the title [-][Bug]: kill load data statement , data can be found not rollback[/-] [+][Bug]: kill load data statement , data can be found, not rollback[/+] on Jan 4, 2023
  5. jianwan0214 commented on Jan 16, 2023

    @jianwan0214
    Contributor

    not focus on it

  6. jianwan0214 commented on Feb 3, 2023

    @jianwan0214
    Contributor

    after kill the sql, the table is still empty.
    image

  7. ghost closed this as completedon Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugseverity/s1

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions