Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
13707f98
Unverified
Commit
13707f98
authored
Mar 06, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Mar 06, 2020
Browse files
Merge pull request #6687 from jtru/systemd-integration-fixes
Signal systemd readiness atfer Partial Resync
parents
af347a8c
dfb598cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
13707f98
...
...
@@ -2182,6 +2182,10 @@ void syncWithMaster(connection *conn) {
if
(
psync_result
==
PSYNC_CONTINUE
)
{
serverLog
(
LL_NOTICE
,
"MASTER <-> REPLICA sync: Master accepted a Partial Resynchronization."
);
if
(
server
.
supervised_mode
==
SUPERVISED_SYSTEMD
)
{
redisCommunicateSystemd
(
"STATUS=MASTER <-> REPLICA sync: Partial Resynchronization accepted. Ready to accept connections.
\n
"
);
redisCommunicateSystemd
(
"READY=1
\n
"
);
}
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment