Redis 4.0.9 puts AOF synchronization before the write reply
engineeringvalkeyredispersistencedurabilityRedis 4.0.9 repairs an event-loop ordering bug that could acknowledge a write before syncing it. The fix connects the append-only file durability policy to socket event scheduling.