O'Reilly logo

Instant Redis Persistence by Matt Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dealing with AOF corruption (Intermediate)

In extreme circumstances, a Redis AOF can become corrupted and may fail to load. It is important in these cases to know how to deal with the problem quickly, so you can get your Redis server back online with minimal downtime.

You might well ask, "But how can an AOF get corrupted? Isn't it supposed to be a safe persistence mechanism?" It's a fair question. AOF provides certain guarantees, but there are some things that it just can't promise, because they're out of its hands. AOF can guarantee, for instance, that if any change is recorded in the AOF, any change that happened before that change will also be present. However, it can't guarantee that the last change it has written is written completely because ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required