-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
For a read-only server, e.g. one that's been frozen, that also serves read traffic for /checkpoint and /tiles, a personality needs the LogReader's ReadTile, ReadEntryBundle, and ReadCheckpoint functions. To create a LogReader, you must call tessera.NewAppender, which will also start a background thread to update the checkpoint, which is not desirable if the server is read-only.
Would it be possible to add a function to create a LogReader without an appender? IntegratedSize, NextIndex, and StreamEntries would not be needed, so not sure if it'd be preferable to create an interface that's a subset of LogReader that omits these, like FrozenLogReader. If not, do you have any suggested workarounds?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status