yugabyte/yugabyte-db

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

Open

#10.129 aperta il 28 set 2021

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C (1003 fork)batch import
area/docdbgood first issuekind/bugpriority/medium

Metriche repository

Star
 (8229 star)
Metriche merge PR
 (Merge medio 17g 21h) (92 PR mergiate in 30 g)

Descrizione

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

Guida contributor