rabbitmq / osiris

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

osiris_log:overview/1 - fix crash with trailing empty index. #168

Closed kjnilsson closed 2 months ago

kjnilsson commented 2 months ago

Also delete any segment files that do not have any index files that may have been caused by a process crash during retention deletion.

See: https://github.com/rabbitmq/rabbitmq-server/discussions/12054

Refactoring around file listings.

Also a fix to segment counter after recovery with an empty log.