This is an automated email from the ASF dual-hosted git repository.
hellostephen pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new c9ab3b9e3a0 [regression-test](fix) ignore E-2000 in compaction cases
(#46522)
c9ab3b9e3a0 is described below
commit c9ab3b9e3a0ed5a0fc18039b3d823338f5d1088d
Author: shuke <[email protected]>
AuthorDate: Tue Jan 7 14:26:54 2025 +0800
[regression-test](fix) ignore E-2000 in compaction cases (#46522)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
#46436
---
regression-test/plugins/plugin_compaction.groovy | 2 ++
1 file changed, 2 insertions(+)
diff --git a/regression-test/plugins/plugin_compaction.groovy
b/regression-test/plugins/plugin_compaction.groovy
index 385292eb1fe..eaefa9a10d3 100644
--- a/regression-test/plugins/plugin_compaction.groovy
+++ b/regression-test/plugins/plugin_compaction.groovy
@@ -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}")
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]