Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Redis Cluster clusterSaveConfig() is unsafe. #1478

Closed
antirez opened this Issue · 1 comment

1 participant

@antirez
Owner

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

Fixed.

@antirez antirez closed this
@JackieXie168 JackieXie168 referenced this issue from a commit
@AtnNn AtnNn Add --dynamic option to ./configure
Review 957 by @tryneus
Closes #1478
d78d711
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.