Skip to content

Commit

Permalink
[regression-test](fix) ignore E-2000 in compaction cases (#46522)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx
#46436
  • Loading branch information
shuke987 authored Jan 7, 2025
1 parent aa47a35 commit c9ab3b9
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 c9ab3b9

Please sign in to comment.