Dynamic reload duplication config
Feature Request
In PR #2000 , we can ignore cluster id with paramater dup_ignore_other_cluster_ids.
However, I think this function can be more flexible.
There is no doubt that, cluster id is very useful in multiple clusters duplication situation, backup-cluster can use it to judge data's priority.
So we may want to dynamic relod duplication config when we doing duplication.
Describe the feature you'd like: Here is a case: At beging, we have two clusters like cluster A dup data to cluster B. (A ----> B) And now, demand changes: C cluster also need to dup to cluster B. (A,C -----> B) We don't need to restart the nodes on B, and can reload the config ABOUT DUP.
Any updates on this PR?
Any updates on this PR?
I will deal with it tomorrow
Quality Gate passed
Issues
6 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
[Java-Extensions Incremental Coverage Report]
:white_check_mark: pass : 0 / 0 (0%)
[FE Incremental Coverage Report]
:white_check_mark: pass : 100 / 102 (98.04%)
file detail
| path | covered_line | new_line | coverage | not_covered_line_detail | |
|---|---|---|---|---|---|
| :large_blue_circle: | com/starrocks/sql/optimizer/transformer/ExpressionMapping.java | 19 | 20 | 95.00% | [156] |
| :large_blue_circle: | com/starrocks/sql/optimizer/transformer/RelationTransformer.java | 39 | 40 | 97.50% | [1290] |
| :large_blue_circle: | com/starrocks/sql/optimizer/Optimizer.java | 1 | 1 | 100.00% | [] |
| :large_blue_circle: | com/starrocks/sql/optimizer/transformer/QueryTransformer.java | 10 | 10 | 100.00% | [] |
| :large_blue_circle: | com/starrocks/sql/optimizer/rule/tree/InlineCteProjectPruneRule.java | 22 | 22 | 100.00% | [] |
| :large_blue_circle: | com/starrocks/sql/optimizer/transformer/OptExprBuilder.java | 3 | 3 | 100.00% | [] |
| :large_blue_circle: | com/starrocks/sql/optimizer/transformer/SqlToScalarOperatorTranslator.java | 4 | 4 | 100.00% | [] |
| :large_blue_circle: | com/starrocks/sql/optimizer/operator/Projection.java | 2 | 2 | 100.00% | [] |
[BE Incremental Coverage Report]
:white_check_mark: pass : 0 / 0 (0%)
@Mergify backport branch-3.3
backport branch-3.3
✅ Backports have been created
- #50650 [Enhancement] eliminate unnecessary project (backport #49724) has been created for branch
branch-3.3
@Mergify backport branch-3.2
backport branch-3.2
✅ Backports have been created
- #50651 [Enhancement] eliminate unnecessary project (backport #49724) has been created for branch
branch-3.2but encountered conflicts