Skip to content

Conversation

@w41ter
Copy link
Contributor

@w41ter w41ter commented Oct 24, 2023

Doris is not responsible for managing snapshots, but it needs to clear all snapshots before doing backup/restore regression testing, so a property is added to indicate that existing snapshots need to be cleared when creating a repo. This property is only used during testing and should not be exposed to users.

In addition, a regression test case for backup/restore has been added.

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@w41ter
Copy link
Contributor Author

w41ter commented Oct 24, 2023

run buildall

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.93 seconds
stream load tsv: 555 seconds loaded 74807831229 Bytes, about 128 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size: 17162114542 Bytes

dataroaring
dataroaring previously approved these changes Oct 24, 2023
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 24, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also update the doc

@w41ter w41ter force-pushed the feature/drop_snapshot_before_create_repo branch from 01647d5 to beb6394 Compare October 25, 2023 08:01
@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Oct 25, 2023
@w41ter w41ter force-pushed the feature/drop_snapshot_before_create_repo branch from beb6394 to 50487b1 Compare October 25, 2023 08:05
@w41ter
Copy link
Contributor Author

w41ter commented Oct 25, 2023

run buildall

morningman
morningman previously approved these changes Oct 25, 2023
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 25, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Oct 25, 2023
@w41ter
Copy link
Contributor Author

w41ter commented Oct 25, 2023

run buildall

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.54 seconds
stream load tsv: 563 seconds loaded 74807831229 Bytes, about 126 MB/s
stream load json: 21 seconds loaded 2358488459 Bytes, about 107 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.8 seconds inserted 10000000 Rows, about 347K ops/s
storage size: 17162039232 Bytes

@w41ter w41ter force-pushed the feature/drop_snapshot_before_create_repo branch from 88e05d8 to 12120d9 Compare October 26, 2023 01:25
@w41ter
Copy link
Contributor Author

w41ter commented Oct 26, 2023

run buildall

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.82 seconds
stream load tsv: 569 seconds loaded 74807831229 Bytes, about 125 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size: 17162689492 Bytes

@w41ter w41ter force-pushed the feature/drop_snapshot_before_create_repo branch from 12120d9 to 91f9159 Compare October 26, 2023 02:29
@w41ter
Copy link
Contributor Author

w41ter commented Oct 26, 2023

run buildall

@w41ter w41ter force-pushed the feature/drop_snapshot_before_create_repo branch from 25d4327 to f75555f Compare October 27, 2023 07:58
@w41ter
Copy link
Contributor Author

w41ter commented Oct 27, 2023

run buildall

Copy link
Contributor

@JackDrogon JackDrogon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Doris is not responsible for managing snapshots, but it needs to clear all
snapshots before doing backup/restore regression testing, so a property is
added to indicate that existing snapshots need to be cleared when creating a
repo.

In addition, a regression test case for backup/restore has been added.
@w41ter w41ter force-pushed the feature/drop_snapshot_before_create_repo branch from f75555f to 43a6d94 Compare October 27, 2023 10:17
@w41ter
Copy link
Contributor Author

w41ter commented Oct 27, 2023

run buildall

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.65 seconds
stream load tsv: 553 seconds loaded 74807831229 Bytes, about 129 MB/s
stream load json: 21 seconds loaded 2358488459 Bytes, about 107 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.8 seconds inserted 10000000 Rows, about 347K ops/s
storage size: 17162296434 Bytes

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 27, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@dataroaring dataroaring merged commit 365fdd2 into apache:master Oct 27, 2023
@w41ter w41ter deleted the feature/drop_snapshot_before_create_repo branch October 27, 2023 13:25
dutyu pushed a commit to dutyu/doris that referenced this pull request Oct 28, 2023
apache#25847)

Doris is not responsible for managing snapshots, but it needs to clear all
snapshots before doing backup/restore regression testing, so a property is
added to indicate that existing snapshots need to be cleared when creating a
repo.

In addition, a regression test case for backup/restore has been added.
xiaokang pushed a commit that referenced this pull request Nov 3, 2023
* [feature](backup) add property to remove snapshot before creating repo (#25847)

Doris is not responsible for managing snapshots, but it needs to clear all
snapshots before doing backup/restore regression testing, so a property is
added to indicate that existing snapshots need to be cleared when creating a
repo.

In addition, a regression test case for backup/restore has been added.

* [cases](regression-test) Add backup & restore with multi tables test (#26040)

* [cases](regression-test) Add backup restore operation test (#26169)

1. restore overwrites an exists table
2. backup & restore with exclude table
3. restore to a new table
4. restore mix exists and new tables
5. restore with alias

* [fix](regression) Add auto-expired prefix for backup/restore cases (#26272)

* [test](regression) Add backup/restore DB case (#26312)
gnehil pushed a commit to gnehil/doris that referenced this pull request Dec 4, 2023
* [feature](backup) add property to remove snapshot before creating repo (apache#25847)

Doris is not responsible for managing snapshots, but it needs to clear all
snapshots before doing backup/restore regression testing, so a property is
added to indicate that existing snapshots need to be cleared when creating a
repo.

In addition, a regression test case for backup/restore has been added.

* [cases](regression-test) Add backup & restore with multi tables test (apache#26040)

* [cases](regression-test) Add backup restore operation test (apache#26169)

1. restore overwrites an exists table
2. backup & restore with exclude table
3. restore to a new table
4. restore mix exists and new tables
5. restore with alias

* [fix](regression) Add auto-expired prefix for backup/restore cases (apache#26272)

* [test](regression) Add backup/restore DB case (apache#26312)
XuJianxu pushed a commit to XuJianxu/doris that referenced this pull request Dec 14, 2023
apache#25847)

Doris is not responsible for managing snapshots, but it needs to clear all
snapshots before doing backup/restore regression testing, so a property is
added to indicate that existing snapshots need to be cleared when creating a
repo.

In addition, a regression test case for backup/restore has been added.
w41ter added a commit to w41ter/incubator-doris that referenced this pull request Jul 22, 2024
…itory

delete_if_exists is a temporary solution introduced in apache#25847, to avoid
concurrent testing conflicts.
w41ter added a commit to w41ter/incubator-doris that referenced this pull request Jul 22, 2024
…itory

delete_if_exists is a temporary solution introduced in apache#25847, to avoid
concurrent testing conflicts.

Cherry-pick apache#38190
w41ter added a commit to w41ter/incubator-doris that referenced this pull request Jul 22, 2024
…itory

delete_if_exists is a temporary solution introduced in apache#25847, to avoid
concurrent testing conflicts.

Cherry-pick apache#38190
w41ter added a commit that referenced this pull request Jul 22, 2024
…itory (#38190)

delete_if_exists is a temporary solution introduced in #25847, to avoid
concurrent testing conflicts.
dataroaring pushed a commit that referenced this pull request Jul 23, 2024
…itory (#38194)

delete_if_exists is a temporary solution introduced in #25847, to avoid
concurrent testing conflicts.

Cherry-pick #38190
dataroaring pushed a commit that referenced this pull request Jul 23, 2024
…itory (#38192)

delete_if_exists is a temporary solution introduced in #25847, to avoid
concurrent testing conflicts.

Cherry-pick #38190
dataroaring pushed a commit that referenced this pull request Jul 24, 2024
…itory (#38190)

delete_if_exists is a temporary solution introduced in #25847, to avoid
concurrent testing conflicts.
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
…itory (apache#38194)

delete_if_exists is a temporary solution introduced in apache#25847, to avoid
concurrent testing conflicts.

Cherry-pick apache#38190
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.0.3-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants