yugabyte/yugabyte-db

[read-replicas] spurious logging (?): Expected replicas 3 but found 11 for tablet

Open

#3 235 ouverte le 31 déc. 2019

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)C (1 003 forks)batch import
area/docdbgood first issuekind/bugpriority/medium

Métriques du dépôt

Stars
 (8 229 stars)
Métriques de merge PR
 (Merge moyen 17j 21h) (92 PRs mergées en 30 j)

Description

Jira Link: DB-1673 On a cluster with 3 primary replicas, and 8 read replicas, user reported the following:

The master's started logging a lot of Expected replicas 3 but found 11 for tablet halfway into the spike in errors.

The log line seems misleading (since 11 is indeed the expected number of replicas for the tablet in this setup).

Can we look to see if it is just spurious logging or a logic issue in master interpreting the read-replicas incorrectly?

Guide contributeur