yugabyte/yugabyte-db

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

Open

#10.129 aberto em 28 de set. de 2021

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)C (1.003 forks)batch import
area/docdbgood first issuekind/bugpriority/medium

Métricas do repositório

Stars
 (8.229 stars)
Métricas de merge de PR
 (Mesclagem média 17d 21h) (92 fundiu PRs em 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

Guia do colaborador