osiris icon indicating copy to clipboard operation
osiris copied to clipboard

Strict log reading mode

Open kjnilsson opened this issue 3 years ago • 0 comments

We already have a "strict" or "absolute" means of attaching to a log by using {abs, Offset} - this mode will error if the offset does not exist in the log. However this does not take into account the case where retention overtakes a log reader. In this case it will simply just resume reading at the next segment.

Consider extending the absolute|strict "mode" to error whenever it tries to open the next segment it expects to exist and it doesn't and it isn't at the end of the stream.

kjnilsson avatar Aug 08 '22 11:08 kjnilsson