This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 50f823c086f branch-3.1: (fix)(cloud) Fix cached version regression
#53236 (#53258)
50f823c086f is described below
commit 50f823c086fe5bdd6d9d51612fa3011759fd2462
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jul 15 15:36:03 2025 +0800
branch-3.1: (fix)(cloud) Fix cached version regression #53236 (#53258)
Cherry-picked from #53236
Co-authored-by: Gavin Chou <[email protected]>
---
.../suites/cloud_p0/version/test_fe_cached_partition_version.groovy | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/regression-test/suites/cloud_p0/version/test_fe_cached_partition_version.groovy
b/regression-test/suites/cloud_p0/version/test_fe_cached_partition_version.groovy
index e9466692c15..0cccfa54321 100644
---
a/regression-test/suites/cloud_p0/version/test_fe_cached_partition_version.groovy
+++
b/regression-test/suites/cloud_p0/version/test_fe_cached_partition_version.groovy
@@ -132,12 +132,11 @@ suite("test_fe_cached_partition_version", 'docker') {
insert_sql """INSERT INTO ${tbl} VALUES ('Beijing', 1})""", 1
// refresh expiration, the insert will be seen since the
version has expired
result = sql_return_maparray """ select * from ${tbl} where
region = 'Beijing' """
- // observer/follower cannot see update since cache expiration
no reached
assertEquals(3, result.size())
// all the insert will be seen since the version has expired,
refresh expiration
result = sql_return_maparray """ select * from ${tbl} """
- assertEquals(5, result.size())
+ assertEquals(6, result.size())
// test no expiration, disable cache partition version
insert_sql """INSERT INTO ${tbl} VALUES ('Guangzhou', 1})""", 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]