Skip to content

Commit c61a28d

Browse files
committed
kvserver: use log engine for store liveness
The store liveness machinery needs a syncing engine. Epic: none Release note: none
1 parent 9f1386d commit c61a28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kv/kvserver/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2253,7 +2253,7 @@ func (s *Store) Start(ctx context.Context, stopper *stop.Stopper) error {
22532253

22542254
// Create the Store Liveness SupportManager.
22552255
sm := storeliveness.NewSupportManager(
2256-
slpb.StoreIdent{NodeID: s.nodeDesc.NodeID, StoreID: s.StoreID()}, s.StateEngine(),
2256+
slpb.StoreIdent{NodeID: s.nodeDesc.NodeID, StoreID: s.StoreID()}, s.LogEngine(),
22572257
s.cfg.StoreLiveness.Options, s.cfg.Settings, s.stopper, s.cfg.Clock,
22582258
s.cfg.StoreLiveness.HeartbeatTicker, s.cfg.StoreLiveness.Transport,
22592259
s.cfg.StoreLiveness.SupportManagerKnobs(),

0 commit comments

Comments
 (0)