yugabyte/yugabyte-db

Decrease log spew: catalog_manager.cc:7984 Expected replicas x but found y for tablet .....

Open

#10,129 建立於 2021年9月28日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C (1,003 fork)batch import
area/docdbgood first issuekind/bugpriority/medium

倉庫指標

Star
 (8,229 star)
PR 合併指標
 (平均合併 17天 21小時) (30 天內合併 92 個 PR)

描述

Jira Link: DB-2983 With read replicas configured in the cluster, we see the master continously keeps spewing these log lines.

The calculation checks for the number of replicas vs RF and reports a mismatch. The logic should be updated to account for/exclude read-replicas.

https://github.com/yugabyte/yugabyte-db/blob/de1867939e05c20339d720bc0407d5b59aa5355d/src/yb/master/catalog_manager.cc#L9041

貢獻者指南