Skip to content

Automatically reset failing cache

Recently a service was offline for a few days because its redis cache was somehow broken. I had to remove the cache and restart the pod for it to work again:

rm /var/lib/Stackspin/local-storage/pvc-80cf8172-b5c4-424f-bbf9-a2b678145692_stackspout_redis-data-invoiceninja-redis-node-0/appendonly.aof

Maybe this could be monitored and handled automatically, since it is only caching anyways? Or even make the redis storage transient rather than persistent?

Edited by Janek
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information