Skip to content

Commit

Permalink
To disable index check in Read Replica
Browse files Browse the repository at this point in the history
  • Loading branch information
kmrmt committed Dec 23, 2024
1 parent bda52f5 commit 3cdcf0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/agent/core/ngt/service/ngt.go
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,9 @@ func (n *ngt) Start(ctx context.Context) <-chan error {
if n.dcd {
return nil
}
if n.isReadReplica {
return nil
}
n.removeInvalidIndex(ctx)
ech := make(chan error, 2)
n.eg.Go(safety.RecoverFunc(func() (err error) {
Expand Down

0 comments on commit 3cdcf0b

Please sign in to comment.