title: Redis does not load AOF on startup
body: <p>I recently configured Redis to use AOF as well as RDB snapshotting.</p>
  
  <p>However, it does not look like the AOF is replayed correctly on server startup.</p>
  
  <p>I stopped the service. Then I made sure <code>/var/redis/appendonly.aof</code> is valid using <code>redis-check-aof</code>.</p>
  
  <p>Then I started the server again. In this moment, the RDB file was empty. That's another issue I need to look into - Redis started losing all the data from time to time.</p>
  
  <p>In the log file I can see the AOF is supposed to be loaded correctly:</p>
  
  <p><code>DB loaded from append only file: 1.474 seconds</code></p>
  
  <p>However, when I try to read a value which I know should be there, I get nothing:</p>
  
  <pre><code>127.0.0.1:6379&gt; get iQube:Live:wordCount:2015:11:13:10:6
  (nil)
  </code></pre>
  
  <p>In the AOF though, there are commands like this:</p>
  
  <pre><code>INCRBY
  $36
  iQube:Live:wordCount:2015:11:13:10:6
  $1
  2
  *2
  $4
  </code></pre>
  
  <p>Is there something else I need to do to make this work?</p>