You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/09/08 03:51:18 UTC

[GitHub] [doris] admh opened a new issue, #12457: [Feature] 希望能对已存在的表增加多租户副本分布设置之后能触发重调度

admh opened a new issue, #12457:
URL: https://github.com/apache/doris/issues/12457

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Description
   
   需求是我现在存量有很多表,内部有个数据校验服务需要读取这些表的数据做校验,如果没有多租户就是直接在线上用户集群查询就会影响到用户使用,目前有了多租户配置可以把一个副本放到专门提供给数据校验的服务器组上,能隔离对用户的影响。目前1.0.0-rc03版本经过测试能满足上面这个需求,但是操作比较繁锁,步骤如下:
   1. 创建一个加上多租户配置的temp表
   
   >  没有启用动态分区,要将默认的 "replication_allocation" = "tag.location.default: 3", 改为 "replication_allocation" = "tag.location.default: 3, [tag.location.ge](http://tag.location.ge/)_group: 2"
   > 启用了动态分区,要将默认的 `"dynamic_partition.replication_allocation" = "tag.location.default: 3", 改为 "dynamic_partition.replication_allocation" = "tag.location.default: 3, [tag.location.ge](http://tag.location.ge/)_group: 2",`
   
   2. 重导数据到temp表
   3. 将原来生产表drop掉把temp表 rename成生产表
   
   希望doris能支持动态修改表的DDL之后,能够触发对这个表的副本重调度到多租户服务组上
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Feature] 希望能对已存在的表增加多租户副本分布设置之后能触发重调度 [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #12457: [Feature] 希望能对已存在的表增加多租户副本分布设置之后能触发重调度
URL: https://github.com/apache/doris/issues/12457


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org