File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ where
259
259
self . seq_paxos . snapshot ( compact_idx, local_only)
260
260
}
261
261
262
- /// Return the decided index.
262
+ /// Return the decided index. 0 means that no entry has been decided.
263
263
pub fn get_decided_idx ( & self ) -> usize {
264
264
self . seq_paxos . get_decided_idx ( )
265
265
}
@@ -323,7 +323,7 @@ where
323
323
. expect ( "storage error while trying to read log entries" )
324
324
}
325
325
326
- /// Read all decided entries from `from_idx` in the log. Returns `None` if `from_idx` is out of bounds.
326
+ /// Read all decided entries starting at `from_idx` (inclusive) in the log. Returns `None` if `from_idx` is out of bounds.
327
327
pub fn read_decided_suffix ( & self , from_idx : usize ) -> Option < Vec < LogEntry < T > > > {
328
328
self . seq_paxos
329
329
. internal_storage
You can’t perform that action at this time.
0 commit comments