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
6c390c0b
Commit
6c390c0b
authored
Mar 30, 2011
by
antirez
Browse files
minor change with no actual effects til the loading node config code is in place
parent
ef21ab96
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
6c390c0b
...
@@ -94,9 +94,9 @@ void clusterInit(void) {
...
@@ -94,9 +94,9 @@ void clusterInit(void) {
* by the createClusterNode() function. */
* by the createClusterNode() function. */
redisLog
(
REDIS_NOTICE
,
"No cluster configuration found, I'm %.40s"
,
redisLog
(
REDIS_NOTICE
,
"No cluster configuration found, I'm %.40s"
,
server
.
cluster
.
myself
->
name
);
server
.
cluster
.
myself
->
name
);
clusterAddNode
(
server
.
cluster
.
myself
);
saveconf
=
1
;
saveconf
=
1
;
}
}
clusterAddNode
(
server
.
cluster
.
myself
);
if
(
saveconf
)
clusterSaveConfigOrDie
();
if
(
saveconf
)
clusterSaveConfigOrDie
();
/* We need a listening TCP port for our cluster messaging needs */
/* We need a listening TCP port for our cluster messaging needs */
server
.
cfd
=
anetTcpServer
(
server
.
neterr
,
server
.
cfd
=
anetTcpServer
(
server
.
neterr
,
...
...
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