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

贡献者指南