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
3eca0752
Commit
3eca0752
authored
May 08, 2015
by
antirez
Browse files
Sentinel: generate +sentinel again, removed in prev commit.
parent
b91434ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
3eca0752
...
@@ -2167,6 +2167,7 @@ void sentinelProcessHelloMessage(char *hello, int hello_len) {
...
@@ -2167,6 +2167,7 @@ void sentinelProcessHelloMessage(char *hello, int hello_len) {
si
=
createSentinelRedisInstance
(
NULL
,
SRI_SENTINEL
,
si
=
createSentinelRedisInstance
(
NULL
,
SRI_SENTINEL
,
token
[
0
],
port
,
master
->
quorum
,
master
);
token
[
0
],
port
,
master
->
quorum
,
master
);
if
(
si
)
{
if
(
si
)
{
if
(
!
removed
)
sentinelEvent
(
REDIS_NOTICE
,
"+sentinel"
,
si
,
"%@"
);
/* The runid is NULL after a new instance creation and
/* The runid is NULL after a new instance creation and
* for Sentinels we don't have a later chance to fill it,
* for Sentinels we don't have a later chance to fill it,
* so do it now. */
* so do it now. */
...
...
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