Skip to content

Commit a2acaee

Browse files
committed
update comment to remove mention of fallback upserts
1 parent d682d06 commit a2acaee

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/srv/db/server.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -816,10 +816,8 @@ func (s *Server) stopUpstreamInventoryHeartbeat(ctx context.Context, db types.Da
816816
return trace.Wrap(ctx.Err())
817817
}
818818
}
819-
// the heartbeat may have been created using a fallback method or the
820-
// upstream doesn't support graceful stop.
821-
// if we don't remove this database server, it can linger for up to ~10m
822-
// until its TTL expires.
819+
// if upstream doesn't support graceful stop and we don't remove this
820+
// database server, it can linger for up to ~10m until its TTL expires.
823821
// TODO(gavin): DELETE IN 20.0.0
824822
if err := s.deleteDatabaseServer(ctx, db.GetName()); err != nil {
825823
return trace.Wrap(err)

0 commit comments

Comments
 (0)