Replace valkey in log and panic messages (#550)
Part of #207 --------- Signed-off-by: Shivshankar-Reddy <shiva.sheri.github@gmail.com>
This commit is contained in:
parent
0700c441c6
commit
9319f7aeca
@ -543,7 +543,7 @@ int clusterLoadConfig(char *filename) {
|
|||||||
} else if (!strcasecmp(s, "noflags")) {
|
} else if (!strcasecmp(s, "noflags")) {
|
||||||
/* nothing to do */
|
/* nothing to do */
|
||||||
} else {
|
} else {
|
||||||
serverPanic("Unknown flag in redis cluster config file");
|
serverPanic("Unknown flag in %s cluster config file", SERVER_TITLE);
|
||||||
}
|
}
|
||||||
if (p) s = p + 1;
|
if (p) s = p + 1;
|
||||||
}
|
}
|
||||||
|
@ -3021,10 +3021,9 @@ int rdbLoadRioWithLoadingCtx(rio *rdb, int rdbflags, rdbSaveInfo *rsi, rdbLoadin
|
|||||||
if ((dbid = rdbLoadLen(rdb, NULL)) == RDB_LENERR) goto eoferr;
|
if ((dbid = rdbLoadLen(rdb, NULL)) == RDB_LENERR) goto eoferr;
|
||||||
if (dbid >= (unsigned)server.dbnum) {
|
if (dbid >= (unsigned)server.dbnum) {
|
||||||
serverLog(LL_WARNING,
|
serverLog(LL_WARNING,
|
||||||
"FATAL: Data file was created with a Redis "
|
"FATAL: Data file was created with a %s server configured to handle "
|
||||||
"server configured to handle more than %d "
|
"more than %d databases. Exiting\n",
|
||||||
"databases. Exiting\n",
|
SERVER_TITLE, server.dbnum);
|
||||||
server.dbnum);
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
db = rdb_loading_ctx->dbarray + dbid;
|
db = rdb_loading_ctx->dbarray + dbid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user