Sentinel: CONFIG REWRITE support for Sentinel config.

This commit is contained in:
antirez
2013-11-19 09:48:12 +01:00
parent 8c3e197040
commit a52909c5f2
3 changed files with 112 additions and 4 deletions

View File

@ -1144,6 +1144,8 @@ sds keyspaceEventsFlagsToString(int flags);
void loadServerConfig(char *filename, char *options);
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);
/* db.c -- Keyspace access API */
int removeExpire(redisDb *db, robj *key);