rdbReportCorruptRDB("The RDB file contains module data for the module type '%s', that the responsible module is not able to load. Check for modules log above for additional clues.",name);
rdbReportCorruptRDB("The RDB file contains module data for the module type '%s', that the responsible "
"module is not able to load. Check for modules log above for additional clues.",
moduleTypeModuleName(mt));
returnNULL;
}
o=createModuleObject(mt,ptr);
...
...
@@ -2729,7 +2731,7 @@ void backgroundSaveDoneHandler(int exitcode, int bysignal) {
* the cleanup needed. */
voidkillRDBChild(void){
kill(server.child_pid,SIGUSR1);
/* Because we are not using here wait4 (like we have in killAppendOnlyChild
/* Because we are not using here waitpid (like we have in killAppendOnlyChild
* and TerminateModuleForkChild), all the cleanup operations is done by
* checkChildrenDone, that later will find that the process killed.
@@ -6197,7 +6303,7 @@ int main(int argc, char **argv) {
(int)getpid());
if(argc==1){
serverLog(LL_WARNING,"Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf",argv[0],server.sentinel_mode?"sentinel":"redis");
serverLog(LL_WARNING,"Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/redis.conf",argv[0]);
}else{
serverLog(LL_WARNING,"Configuration loaded");
}
...
...
@@ -6251,10 +6357,10 @@ int main(int argc, char **argv) {
if(server.supervised_mode==SUPERVISED_SYSTEMD){
if(!server.masterhost){
redisCommunicateSystemd("STATUS=Ready to accept connections\n");
redisCommunicateSystemd("READY=1\n");
}else{
redisCommunicateSystemd("STATUS=Waiting for MASTER <-> REPLICA sync\n");
redisCommunicateSystemd("STATUS=Ready to accept connections in read-only mode. Waiting for MASTER <-> REPLICA sync\n");