weixin_39724889 2020-11-19 12:01 采纳率: 0%
浏览 0

sync health status of actual TiDB replicas instead of desired replicas

What problem does this PR solve?

fixes #1196

What is changed and how does it work?

  • rename <TiDB/PD/TiKV>RealReplicas to <TiDB/PD/TiKV>DesiredReplicas, because tc.<TiDB/PD/TiKV>.Replicas + len(tc.Status.<TiDB/PD/TiKV>.FailureMembers) is the desired replicas
  • add <TiDB/PD/TiKV>ActualReplicas
  • use TiDBActualReplicas() in health status sync

Check List

Tests

  • Unit test
  • E2E test
  • 写回答

5条回答 默认 最新

  • weixin_39724889 2020-11-19 12:01
    关注

    /run-e2e-test

    评论

报告相同问题?