Skip to content

Commit 3a65ddf

Browse files
committed
rangefeedcache: add a verbose log line
1 parent 4594411 commit 3a65ddf

File tree

1 file changed

+1
-0
lines changed
  • pkg/kv/kvclient/rangefeed/rangefeedcache

1 file changed

+1
-0
lines changed

pkg/kv/kvclient/rangefeed/rangefeedcache/watcher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ func (s *Watcher[E]) Run(ctx context.Context) error {
312312
rangefeed.WithDiff(s.withPrevValue),
313313
rangefeed.WithRowTimestampInInitialScan(s.withRowTSInInitialScan),
314314
rangefeed.WithOnInitialScanError(func(ctx context.Context, err error) (shouldFail bool) {
315+
log.VInfof(ctx, 1, "initial scan error: %s", err)
315316
// TODO(irfansharif): Consider if there are other errors which we
316317
// want to treat as permanent. This was cargo culted from the
317318
// settings watcher.

0 commit comments

Comments
 (0)