Open zhangjinpeng87 opened 4 years ago
The TiFlash replicate progress works When there is only one TiKV node.
It is expected behaviour when there is only 1 tikv but the default rule specify 3 voters, because scheduler tries to satisfy rules one by one.
After change max-replicas from 3 to 1, the replicate progress should work
When placement rules feature is enabled, max-replicas
does not use any more. I think we can give some error message instead make it work.
Please answer these questions before submitting your issue. Thanks!
alter table t set tiflash replica 1
to add the TiFlash replica for table t.What did you expect to see?
max-replicas
from 3 to 1, the progress still 0%.curl -X POST -d '{"group_id":"pd","id":"default","role":"voter","count":1}' http://127.0.0.1:2379/pd/api/v1/config/rule
, the replicate progress start to work.What did you see instead?
max-replicas
from 3 to 1, the replicate progress should workpd-server -V
)?Release Version: v4.0.0-beta.1-37-g0ba1160b Git Commit Hash: 0ba1160bf0b5537ce62067643857ce5d191be659 Git Branch: release-4.0 UTC Build Time: 2020-03-11 01:54:01