Skip to content

Commit 9fb67f9

Browse files
committed
kvserver: add comment
1 parent fa39df7 commit 9fb67f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/kv/kvserver/replica_raftstorage.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ type IncomingSnapshot struct {
287287
// clearedSpans represents the key spans in the existing store that will be
288288
// cleared by doing the Ingest*. This is tracked so that we can convert the
289289
// ssts into a WriteBatch if the total size of the ssts is small.
290+
//
291+
// This contains both the spans that have explicit rangedels, and the
292+
// MVCC span (which would be cleared by Excise on Ingest).
290293
clearedSpans []roachpb.Span
291294
}
292295

0 commit comments

Comments
 (0)