Skip to content

Commit

Permalink
handle readtablet error (vitessio#12511)
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui authored Mar 1, 2023
1 parent 7bd7785 commit 6fe3259
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/vt/vtorc/logic/topology_recovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ func recoverDeadPrimary(ctx context.Context, analysisEntry inst.ReplicationAnaly

// Read the tablet information from the database to find the shard and keyspace of the tablet
tablet, err := inst.ReadTablet(analysisEntry.AnalyzedInstanceKey)
if err != nil {
return false, nil, err
}

var candidateTabletAlias *topodatapb.TabletAlias
if candidateInstanceKey != nil {
Expand Down

0 comments on commit 6fe3259

Please sign in to comment.