Search code examples
redisjedisbolt

Why Redis automatically flushall data?


I use Jedis in Storm Bolt to insert record to Redis. But Redis suddenly flushall my data serveral times.

The first time I checked number of records it showed 23k but after that I rechecked it shows only over 100 records, and the last time I checked it just had 60 records, and that was the newest one.

So I consider that why my old records had been flushed?


Solution

  • My problem is using bitnami/redis, it has a hidden configuration or it's just broken that makes it flushall data automatically.

    I change to docker official image redis and it works totally fine.