danielealbano / cachegrand

cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
BSD 3-Clause "New" or "Revised" License
975 stars 34 forks source link

Bug add test for expired keys in rdp generation #308

Closed danielealbano closed 1 year ago

danielealbano commented 1 year ago

The tests for the primitives to generated redis snapshots (RDB) files were not implemented for strings with expiration timestamps.

The PR includes 2 new set of tests, one with expired timestamps and one without.

It also include a fix for the output collection of redis-check-rdb, the memory allocated on the stack wasn't being empitied causing old content being displayed.