commit 2feef47

https://github.com/antirez/redis/commit/2feef47aa1642df8637522c3d0b8efa16ec4bbc0

MIGRATE: retry one time on I/O error.

Now that we cache connections, a retry attempt makes sure that the operation don't fail just because there is an existing connection error on the socket, like the other end closing the connection.

Unfortunately this condition is not detectable using getsockopt(SO_ERROR), so the only option left is to retry.

We don't retry on timeouts.

commit 9ebf7a6

https://github.com/antirez/redis/commit/9ebf7a6776503d7c688ad1a2dedb55c71e8c8a82

Pipelined multiple keys MIGRATE.

commit 4017a11

https://github.com/antirez/redis/commit/4017a11144cddfc702afd038fec1461eb6e68811

Do not migrate already expired keys.

commit 53d46fa

https://github.com/antirez/redis/commit/53d46fa712619af7bcd7883aabe279344336be11

Make changes of PR #5154 hopefully simpler.

commit a6499ec

https://github.com/antirez/redis/commit/a6499ecac21e685c9d95dc749cd928412d4f689b

migrate: fix mismatch of RESTORE reply when some keys have expired.


Related Posts


Published

Category

redis

Tags

Contact