Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <[email protected]>
  • Loading branch information
lance6716 committed Feb 26, 2024
1 parent 5f78be8 commit 5302b8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions br/pkg/lightning/common/ingest_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ type IngestData interface {
// iterator is closed or ForwardIter.ReleaseBuf is called.
NewIter(ctx context.Context, lowerBound, upperBound []byte, bufPool *membuf.Pool) ForwardIter
// GetStartTS return the startTS when ingest. This TS should keep unchanged
// during retries of ingest. For local engine, it's set when engine is opened to
// avoid change too much code. For external engine, it's set when engine is
// closed.
// during retries of ingest. For local engine, it's set when engine is
// opened/reset to avoid change too much code. For external engine, it's set when
// engine is closed.
GetStartTS() uint64
// IncRef should be called every time when IngestData is referred by regionJob.
// Multiple regionJob can share one IngestData. Same amount of DecRef should be
Expand Down

0 comments on commit 5302b8e

Please sign in to comment.