rabbitmq / osiris

Log based streaming subsystem for RabbitMQ
Other
45 stars 10 forks source link

Better handle data loss in first chunk #153

Closed kjnilsson closed 11 months ago

kjnilsson commented 11 months ago

When data is lost in the first chunk ever written subsequent inits would detect this in the index correctly but position the segment at eof which is incorrect. This fix addressed that by ensuring the empty log case is handled correctly.