This change adds extra protection to slices returned from MemoryStorage, so that any appends to these slices at the raft or application level can be tolerated.
This change also clarifies the semantics of Storage.Entries method to this extent, and touches other aspects like returned errors.
This change adds extra protection to slices returned from
MemoryStorage
, so that any appends to these slices at the raft or application level can be tolerated.This change also clarifies the semantics of
Storage.Entries
method to this extent, and touches other aspects like returned errors.