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 2020/08/12 09:32:29 UTC

[GitHub] [incubator-doris] Fullstop000 opened a new issue #4340: [Question] How to alter the replication_num for all the partitions

Fullstop000 opened a new issue #4340:
URL: https://github.com/apache/incubator-doris/issues/4340


   I'm testing out to scale-in the cluster from 2 BEs to single BE. And it seems I need to set the `replication_num=1` to all the partitions of all the tables first.
   Here is what I tried following the doc:
   ```
   mysql> ALTER TABLE bi_day_all_hourly_report2 MODIFY PARTITION (*) SET ("replication_num"="1");
   ERROR 1064 (HY000): errCode = 2, detailMessage = Syntax error in line 1:
   ..._report2 MODIFY PARTITION (*) SET ("replication_num"="1")
   ```
   Is there any way to do this?


----------------------------------------------------------------
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.

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


[GitHub] [incubator-doris] Fullstop000 closed issue #4340: [Question] How to alter the replication_num for all the partitions

Posted by GitBox <gi...@apache.org>.
Fullstop000 closed issue #4340:
URL: https://github.com/apache/incubator-doris/issues/4340


   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-doris] morningman commented on issue #4340: [Question] How to alter the replication_num for all the partitions

Posted by GitBox <gi...@apache.org>.
morningman commented on issue #4340:
URL: https://github.com/apache/incubator-doris/issues/4340#issuecomment-674342117


   What is your Doris version.
   `ALTER TABLE bi_day_all_hourly_report2 MODIFY PARTITION (*) SET ("replication_num"="1");`
   this command will be supported in version 0.13, which has not been released yet.


----------------------------------------------------------------
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.

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