yugabyte/yugabyte-db

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

Open

#3.235 geöffnet am 31. Dez. 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C (1.003 Forks)batch import
area/docdbgood first issuekind/bugpriority/medium

Repository-Metriken

Stars
 (8.229 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)

Beschreibung

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?

Contributor Guide