Sentinel: sentinelFlushConfig() to CONFIG REWRITE + fsync.

This commit is contained in:
antirez
2013-11-19 10:13:04 +01:00
parent a52909c5f2
commit 93d924ff1c
2 changed files with 23 additions and 0 deletions

View File

@ -1146,6 +1146,7 @@ void appendServerSaveParams(time_t seconds, int changes);
void resetServerSaveParams();
struct rewriteConfigState; /* Forward declaration to export API. */
void rewriteConfigRewriteLine(struct rewriteConfigState *state, char *option, sds line, int force);
int rewriteConfig(char *path);
/* db.c -- Keyspace access API */
int removeExpire(redisDb *db, robj *key);