RDB vs AOF: What Actually Happens If Redis Crashes Mid-Write

Redis said OK on your write. Then the process died half a second later. Is your data gone? The answer depends entirely on one setting most…