You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2268,7 +2296,9 @@ void call(client *c, int flags) {
2268
2296
return;
2269
2297
}
2270
2298
}
2271
-
++server.currentOpNum;
2299
+
if (c->cmd->proc!=selectCommand) {
2300
+
++server.currentOpNum;
2301
+
}
2272
2302
c->cmd->proc(c);
2273
2303
duration=ustime()-start;
2274
2304
dirty=server.dirty-dirty;
@@ -4126,6 +4156,9 @@ int main(int argc, char **argv) {
4126
4156
sentinelIsRunning();
4127
4157
}
4128
4158
4159
+
// Call this only after AOF recovery.
4160
+
riflStartRecoveryByWitness();
4161
+
4129
4162
/* Warning the user about suspicious maxmemory setting. */
4130
4163
if (server.maxmemory>0&&server.maxmemory<1024*1024) {
4131
4164
serverLog(LL_WARNING,"WARNING: You specified a maxmemory value that is less than 1MB (current value is %llu bytes). Are you sure this is what you really want?", server.maxmemory);
0 commit comments