We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68e84f8 commit df64577Copy full SHA for df64577
pkg/raft/log.go
@@ -29,12 +29,6 @@ import (
29
//
30
// To access it safely, the user must not mutate the underlying raft log storage
31
// 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.
38
type LogSnapshot struct {
39
// compacted is the compacted log index.
40
compacted uint64
0 commit comments