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

yiguolei pushed a commit to branch branch-4.2
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.2 by this push:
     new 6de5c61d3b8 branch-4.2: [fix](regression) Sync version 3 before DROP 
in test_clean_tablet_when_drop_force_table #69846 (#69910)
6de5c61d3b8 is described below

commit 6de5c61d3b86b5a0e0d23aadd4394fc7e53e8b2b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 2 09:00:17 2026 +0800

    branch-4.2: [fix](regression) Sync version 3 before DROP in 
test_clean_tablet_when_drop_force_table #69846 (#69910)
    
    Cherry-picked from #69846
    
    Co-authored-by: Xin Liao <[email protected]>
---
 .../tablets/test_clean_tablet_when_drop_force_table.groovy     | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git 
a/regression-test/suites/cloud_p0/tablets/test_clean_tablet_when_drop_force_table.groovy
 
b/regression-test/suites/cloud_p0/tablets/test_clean_tablet_when_drop_force_table.groovy
index 797a0b2df86..a1ffad52558 100644
--- 
a/regression-test/suites/cloud_p0/tablets/test_clean_tablet_when_drop_force_table.groovy
+++ 
b/regression-test/suites/cloud_p0/tablets/test_clean_tablet_when_drop_force_table.groovy
@@ -282,6 +282,16 @@ suite('test_clean_tablet_when_drop_force_table', 'docker') 
{
             }
         }
 
+        // Auto compaction is disabled, so nothing else syncs version 3 into 
the BE tablets.
+        // DROP only recycles the file cache of rowsets already loaded on the 
BE, so query
+        // here to load version 3 before collecting its cache dirs.
+        for (int i = 0; i < 5; i++) {
+            def rows = sql """
+                select count(*) from $tableName
+            """
+            assertEquals(160000L, rows[0][0] as long)
+        }
+
         // before drop table force
         def beforeGetFromFe = getTabletAndBeHostFromFe(tableName)
         def beforeGetFromBe = 
getTabletAndBeHostFromBe(cluster.getAllBackends())


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

Reply via email to