Skip to content

replication_reporter: Don't try to reparent to yourself.#5157

Merged
sougou merged 1 commit intovitessio:masterfrom
planetscale:replication-repair-self
Sep 6, 2019
Merged

replication_reporter: Don't try to reparent to yourself.#5157
sougou merged 1 commit intovitessio:masterfrom
planetscale:replication-repair-self

Conversation

@enisoc
Copy link
Member

@enisoc enisoc commented Sep 4, 2019

We've seen it happen that a master tablet restarts and becomes a
replica. If the shard record still says we are master, we might end up
trying to reparent to ourselves.

I don't know yet how the tablet is getting forced to replica type, but
in any case we should enforce the invariant that we don't try to
reparent to ourselves.

Signed-off-by: Anthony Yeh enisoc@planetscale.com

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants