Search prior failures
Is your feature request related to a problem? Please describe.
Currently, when creating an Async Materialized View (MTMV) in Doris, the physical table associated with the MTMV inherits the replication_allocation property from the base tables or falls back to global default configurations.
However, in production scenarios with multi-tag BE clusters (e.g., hot/cold data isolation, default vs. offline tags), users often need to alter the replica allocation of existing Async Materialized Views (e.g., moving MTMV replicas to dedicated offline BE nodes to isolate query workloads).
Currently, attempting to modify the replication_allocation for an existing MTMV via SQL either lacks dedicated DDL syntax or fails to propagate the property change down to the underlying partitions/table correctly.
Describe the solution you'd like
- Syntax Support:
Support altering the replication_allocation property for Async Materialized Views using DDL, for example:
ALTER MATERIALIZED VIEW [db_name.]mv_name SET ("replication_allocation" = "tag.location.default: 1, tag.location.offline: 2");
Search prior failures
Is your feature request related to a problem? Please describe.
Currently, when creating an Async Materialized View (MTMV) in Doris, the physical table associated with the MTMV inherits the
replication_allocationproperty from the base tables or falls back to global default configurations.However, in production scenarios with multi-tag BE clusters (e.g., hot/cold data isolation,
defaultvs.offlinetags), users often need to alter the replica allocation of existing Async Materialized Views (e.g., moving MTMV replicas to dedicatedofflineBE nodes to isolate query workloads).Currently, attempting to modify the
replication_allocationfor an existing MTMV via SQL either lacks dedicated DDL syntax or fails to propagate the property change down to the underlying partitions/table correctly.Describe the solution you'd like
Support altering the
replication_allocationproperty for Async Materialized Views using DDL, for example: