This is an automated email from the ASF dual-hosted git repository.

hellostephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 61bda40db15 [regression-test](fix) ignore e-2000 in compaction (#46436)
61bda40db15 is described below

commit 61bda40db15791cd2de441b303dd96ed0b5bab9e
Author: shuke <[email protected]>
AuthorDate: Tue Jan 7 11:40:31 2025 +0800

    [regression-test](fix) ignore e-2000 in compaction (#46436)
    
    ### What problem does this PR solve?
    
    Issue Number: close #xxx
    
    Related PR: #xxx
    
    Problem Summary:
    In compaction test, there are some situation that triggering compaction
    will return E-2000. that's by design and ignore this.
---
 regression-test/plugins/plugin_compaction.groovy | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/regression-test/plugins/plugin_compaction.groovy 
b/regression-test/plugins/plugin_compaction.groovy
index 385292eb1fe..074505470d5 100644
--- a/regression-test/plugins/plugin_compaction.groovy
+++ b/regression-test/plugins/plugin_compaction.groovy
@@ -106,7 +106,10 @@ 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 {
+            } 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}")
             }
         } else {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to