Revert "[fix](cloud) ignore some case in cloud mode (#32261)"
This reverts commit c0776c7c0756d602204edba76642cafa92e67cd8.
This commit is contained in:
@ -19,7 +19,6 @@ package org.apache.doris.catalog;
|
||||
|
||||
import org.apache.doris.analysis.AlterColocateGroupStmt;
|
||||
import org.apache.doris.clone.ColocateTableCheckerAndBalancer;
|
||||
import org.apache.doris.common.Config;
|
||||
import org.apache.doris.common.DdlException;
|
||||
import org.apache.doris.common.FeMetaVersion;
|
||||
import org.apache.doris.common.MetaNotFoundException;
|
||||
@ -846,10 +845,6 @@ public class ColocateTableIndex implements Writable {
|
||||
|
||||
if (properties.containsKey(PropertyAnalyzer.PROPERTIES_REPLICATION_NUM)
|
||||
|| properties.containsKey(PropertyAnalyzer.PROPERTIES_REPLICATION_ALLOCATION)) {
|
||||
if (Config.isCloudMode()) {
|
||||
throw new DdlException("Cann't modify colocate group replication in cloud mode");
|
||||
}
|
||||
|
||||
ReplicaAllocation replicaAlloc = PropertyAnalyzer.analyzeReplicaAllocation(properties, "");
|
||||
Preconditions.checkState(!replicaAlloc.isNotSet());
|
||||
Env.getCurrentSystemInfo().checkReplicaAllocation(replicaAlloc);
|
||||
|
||||
Reference in New Issue
Block a user