Skip to content

[feature](create-table) support setting replication num for creating table operation globally#22124

Merged
xiaokang merged 1 commit into
apache:branch-2.0from
morningman:cp21848
Jul 23, 2023
Merged

[feature](create-table) support setting replication num for creating table operation globally#22124
xiaokang merged 1 commit into
apache:branch-2.0from
morningman:cp21848

Conversation

@morningman
Copy link
Copy Markdown
Contributor

cherry-pick #21848

…table opertaion globally (apache#21848)

Add a new FE config `force_olap_table_replication_num`.
If this config is larger than 0, when doing creating table operation, the replication num of table will
forcibly be this value.
Default is 0, which make no effect.
This config will only effect the creating olap table operation, other operation such as `add partition`,
`modify table properties` will not be effect.

The motivation of this config is that the most regression test cases are creating table will single replica,
this will be the regression test running well in p0, p1 pipeline.
But we also need to run these cases in multi backend Doris cluster, so we need test cases will multi replicas.
But it is hard to modify each test cases. So I add this config, so that we can simply set it to create all tables with
specified replication number.
@github-actions github-actions Bot added the area/planner Issues or PRs related to the query planner label Jul 23, 2023
@morningman morningman added the dev/2.0.0 2.0.0 release label Jul 23, 2023
@xiaokang xiaokang merged commit 4c303f2 into apache:branch-2.0 Jul 23, 2023
@xiaokang xiaokang added dev/2.0.0-merged and removed dev/2.0.0 2.0.0 release labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/planner Issues or PRs related to the query planner dev/2.0.0-merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants