yugabyte/yugabyte-db

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

Open

#10,129 opened on Sep 28, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C (1,003 forks)batch import
area/docdbgood first issuekind/bugpriority/medium

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (Avg merge 17d 21h) (92 merged PRs in 30d)

Description

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

Contributor guide