This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new f77d30223c8 [fix](cloud) set enable_cloud_colocate_consistent_hash
default value to false (#68065) (#68946)
f77d30223c8 is described below
commit f77d30223c837b811b4587b0e9cf56d8ad2d2c8d
Author: deardeng <[email protected]>
AuthorDate: Wed Oct 14 14:41:08 2026 +0800
[fix](cloud) set enable_cloud_colocate_consistent_hash default value to
false (#68065) (#68946)
(cherry picked from commit https://github.com/apache/doris/pull/68065)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
---
fe/fe-common/src/main/java/org/apache/doris/common/Config.java | 2 +-
.../java/org/apache/doris/cloud/catalog/CloudColocatePlacementTest.java | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
index 202a0ebcb9b..48ae5dcd2e7 100644
--- a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
+++ b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
@@ -3881,7 +3881,7 @@ public class Config extends ConfigBase {
description = {
"Whether to use rendezvous hashing for colocate bucket
placement in cloud mode. "
+ "If false, use the legacy modulo placement.
Restart-only."})
- public static boolean enable_cloud_colocate_consistent_hash = true;
+ public static boolean enable_cloud_colocate_consistent_hash = false;
@ConfField(mutable = true, description = {"存算分离模式下是否启用自动启停功能,默认 true",
"Whether to enable the automatic start-stop feature in cloud model,
default is true."})
diff --git
a/fe/fe-core/src/test/java/org/apache/doris/cloud/catalog/CloudColocatePlacementTest.java
b/fe/fe-core/src/test/java/org/apache/doris/cloud/catalog/CloudColocatePlacementTest.java
index c04bd13bff7..225dccf34a0 100644
---
a/fe/fe-core/src/test/java/org/apache/doris/cloud/catalog/CloudColocatePlacementTest.java
+++
b/fe/fe-core/src/test/java/org/apache/doris/cloud/catalog/CloudColocatePlacementTest.java
@@ -145,6 +145,7 @@ public class CloudColocatePlacementTest {
@Test
public void testDeadGraceHrwPlacementRejectsInvalidBucketIdx() throws
Exception {
+ Config.enable_cloud_colocate_consistent_hash = true;
CloudSystemInfoService infoService = Mockito.spy(new
CloudSystemInfoService());
GroupId groupId = new GroupId(1L, 100L);
List<Backend> backends = createBackends(1L, 2L, 3L);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]