antirez 8e55537459 Undo slaves state change on failed rdbSaveToSlavesSockets().
As Oran Agra suggested, in startBgsaveForReplication() when the BGSAVE
attempt returns an error, we scan the list of slaves in order to remove
them since there is no way to serve them currently.

However we check for the replication state BGSAVE_START, which was
modified by rdbSaveToSlaveSockets() before forking(). So when fork fails
the state of slaves remain BGSAVE_END and no cleanup is performed.

This commit fixes the problem by making rdbSaveToSlavesSockets() able to
undo the state change on fork failure.
2015-09-07 16:09:23 +02:00
..
2012-04-13 17:52:33 -07:00
2014-09-29 06:49:07 -04:00
2014-08-08 10:43:54 +02:00
2015-07-27 15:03:10 +02:00
2015-07-27 15:03:10 +02:00
2015-07-27 15:03:10 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 15:03:10 +02:00
2015-07-28 16:58:35 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-14 17:15:37 +02:00
2015-07-14 17:15:37 +02:00
2015-07-26 23:17:55 +02:00
2014-12-14 12:25:42 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-02-17 11:33:08 -05:00
2014-08-08 10:05:32 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-25 17:41:56 +02:00
2015-07-25 17:41:56 +02:00
2015-04-27 12:07:49 +02:00
2015-04-27 12:07:49 +02:00
2015-07-27 14:37:58 +02:00
2014-07-02 16:31:22 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2011-07-06 15:22:00 +02:00
2015-01-02 11:16:08 -05:00
2015-04-29 10:33:21 +02:00