antirez/redis — pull request #852 by jzawodn (2012-12-27 19:08:48+00:00)
Title: 2.6 repl-auto-resync code

This is the 2.6 version of the original 2.4 changes I made here:

https://github.com/jzawodn/redis/commit/be22df6f931dfd826d9d9541a6f4037392a34715

This allows you to configure slaves so they WILL NOT auto-reconnect to their master if the connection is lost. This is very useful if you're running many masters on one host and many slaves on a second host. What you want to do is resync them one at a time, but redis has no facility for this. But using this feature you can easily script a solution in Perl/Python/Ruby/whatever.

We've used this in production at Craigslist for a while now.

I'm happy to re-submit this against 2.8 if you'd like.