Skip to content

Commit a94ddd6

Browse files
committed
loqrecovery: use LogEngine to read recovery status
This status lives in the Store-local scope that belongs to the log engine. Epic: none Release note: none
1 parent 8a4e0c9 commit a94ddd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kv/kvserver/loqrecovery/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ func (s Server) NodeStatus(
479479
status.PendingPlanID = &plan.PlanID
480480
}
481481
err = s.stores.VisitStores(func(s *kvserver.Store) error {
482-
r, ok, err := readNodeRecoveryStatusInfo(ctx, s.TODOEngine())
482+
r, ok, err := readNodeRecoveryStatusInfo(ctx, s.LogEngine())
483483
if err != nil {
484484
return err
485485
}

0 commit comments

Comments
 (0)