Unverified Commit c7b68d10 authored by Maxim Ivanov's avatar Maxim Ivanov Committed by GitHub
Browse files

Prune leftover TODO comment

Is it sufficient... ? -- Yes it is. In standalone mode, we say READY=1
at the comment point; however in replicated mode, we delay sending
READY=1 until the replication sync completes.
parent 129d14e1
...@@ -5100,7 +5100,6 @@ int main(int argc, char **argv) { ...@@ -5100,7 +5100,6 @@ int main(int argc, char **argv) {
if (server.sofd > 0) if (server.sofd > 0)
serverLog(LL_NOTICE,"The server is now ready to accept connections at %s", server.unixsocket); serverLog(LL_NOTICE,"The server is now ready to accept connections at %s", server.unixsocket);
if (server.supervised_mode == SUPERVISED_SYSTEMD) { if (server.supervised_mode == SUPERVISED_SYSTEMD) {
/* XXX TODO is this sufficient to pass readiness control off to readSyncBulkPayload()? */
if (!server.masterhost) { if (!server.masterhost) {
redisCommunicateSystemd("STATUS=Ready to accept connections\n"); redisCommunicateSystemd("STATUS=Ready to accept connections\n");
redisCommunicateSystemd("READY=1\n"); redisCommunicateSystemd("READY=1\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment