diff --git a/pkg/lorry/operations/replica/checkrole.go b/pkg/lorry/operations/replica/checkrole.go index f955dcd028a..49c81e2ca38 100644 --- a/pkg/lorry/operations/replica/checkrole.go +++ b/pkg/lorry/operations/replica/checkrole.go @@ -169,9 +169,6 @@ func (s *CheckRole) Do(ctx context.Context, _ *operations.OpsRequest) (*operatio // When network partition occurs, the new primary needs to send global role change information to the controller. isLeader, err := manager.IsLeader(ctx, cluster) if err != nil { - if err != models.ErrNotImplemented { - return nil, err - } isLeader = models.IsLikelyPrimaryRole(role) }