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 ee564f5 commit 84c941b
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
}

Check warning on line 892 in pkg/agent/core/ngt/service/ngt.go

View check run for this annotation

Codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L891-L892

Added lines #L891 - L892 were not covered by tests
n.removeInvalidIndex(ctx)
ech := make(chan error, 2)
n.eg.Go(safety.RecoverFunc(func() (err error) {
Expand Down

0 comments on commit 84c941b

Please sign in to comment.