Redis Cluster clusterSaveConfig() is unsafe. #1478

Closed
antirez opened this Issue Dec 23, 2013 · 1 comment

Projects

None yet

1 participant

@antirez
Owner
antirez commented Dec 23, 2013

The function does not try to make the write of the new configuration atomic, so if the server crashes in the wrong moment it is possible to end with an empty file (half-written file is not an issue as we use a single write(2) call).

@antirez
Owner
antirez commented Jan 15, 2014

Fixed.

@antirez antirez closed this Jan 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment