Skip to content

Commit

Permalink
[regression-test](fix) ignore E-2000 in compaction cases (#46522) (#4…
Browse files Browse the repository at this point in the history
…6664)

### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx
#46436
  • Loading branch information
shuke987 authored Jan 9, 2025
1 parent 5afdf61 commit 2e992bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions regression-test/plugins/plugin_compaction.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ Suite.metaClass.trigger_and_wait_compaction = { String table_name, String compac
triggered_tablets.add(tablet) // compaction already in queue, treat it as successfully triggered
} else if (!auto_compaction_disabled) {
// ignore the error if auto compaction enabled
} else if (trigger_status.status.contains("E-2000")) {
// ignore this tablet compaction.
} else {
throw new Exception("trigger compaction failed, be host: ${be_host}, tablet id: ${tablet.TabletId}, status: ${trigger_status.status}")
}
Expand Down

0 comments on commit 2e992bb

Please sign in to comment.