chunkio icon indicating copy to clipboard operation
chunkio copied to clipboard

Delete irrecoverable chunks on crc32 checksum error

Open drbugfinder-work opened this issue 6 months ago • 4 comments

In Fluent Bit we see many corrupted chunks (resulting from previous OOM kills in Kubernetes) but they still remain on the disk indefinitely, although the storage.delete_irrecoverable_chunks parameter is set. Bildschirmfoto 2024-08-22 um 15 09 35

It looks like the set CIO_ERR_BAD_CHECKSUM is currently not used as a case for deletion.

This PR should correct this behavior.

cc @edsiper

drbugfinder-work avatar Aug 22 '24 13:08 drbugfinder-work