Skip to content

Commit df64577

Browse files
committed
raft: remove the completed TODO
Epic: none Release note: none
1 parent 68e84f8 commit df64577

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pkg/raft/log.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ import (
2929
//
3030
// To access it safely, the user must not mutate the underlying raft log storage
3131
// between when the snapshot is obtained and the reads are done.
32-
//
33-
// TODO(pav-kv): this should be part of the Ready API. Instead of pre-fetching
34-
// entries (e.g. the committed entries subject to state machine application),
35-
// allow the application to read them from LogSnapshot in the Ready handler.
36-
// This gives the application direct control on resource allocation, and
37-
// flexibility to do raft log IO without blocking RawNode operation.
3832
type LogSnapshot struct {
3933
// compacted is the compacted log index.
4034
compacted uint64

0 commit comments

Comments
 (0)