diff --git a/pkg/ccl/backupccl/restore_data_processor.go b/pkg/ccl/backupccl/restore_data_processor.go index 1ad27bc4dc58..a7e4c35b9f2d 100644 --- a/pkg/ccl/backupccl/restore_data_processor.go +++ b/pkg/ccl/backupccl/restore_data_processor.go @@ -376,6 +376,7 @@ func (rd *restoreDataProcessor) openSSTs( readAsOfIter := storage.NewReadAsOfIterator(iter, rd.spec.RestoreTime) cleanup := func() { + log.VInfof(ctx, 1, "finished with and closing %d files in span [%s-%s)", len(entry.Files), entry.Span.Key, entry.Span.EndKey) readAsOfIter.Close() rd.qp.Release(iterAllocs...) @@ -397,7 +398,7 @@ func (rd *restoreDataProcessor) openSSTs( return mSST, nil } - log.VEventf(ctx, 1 /* level */, "ingesting span [%s-%s)", entry.Span.Key, entry.Span.EndKey) + log.VEventf(ctx, 1, "ingesting %d files in span [%s-%s)", len(entry.Files), entry.Span.Key, entry.Span.EndKey) storeFiles := make([]storageccl.StoreFile, 0, len(entry.Files)) iterAllocs := make([]*quotapool.IntAlloc, 0, len(entry.Files))