antirez/redis — pull request #296 by pietern (2012-01-14 02:06:55+00:00)
Title: Don't expire keys when loading an RDB after a SYNC

A user reported a slave that would show an monotonically increase input buffer length, shortly after completing a SYNC. Also, `INFO` output showed a single blocked client, which could only be the master link. Investigation showed that indeed the `BRPOP` command was fed by the master. This command can only end up in the stream of write operations when it did *NOT* block, and effectively executed `RPOP`. However, when the key involved in the `BRPOP` is expired *BEFORE* the command is executed, the client executing it will block. The client in this case, is the master link.