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
75fcf5c9
Commit
75fcf5c9
authored
May 29, 2013
by
antirez
Browse files
repl_offset field in INFO replication is now just offset.
parent
c64338aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
75fcf5c9
...
@@ -2271,7 +2271,7 @@ sds genRedisInfoString(char *section) {
...
@@ -2271,7 +2271,7 @@ sds genRedisInfoString(char *section) {
info
=
sdscatprintf
(
info
,
info
=
sdscatprintf
(
info
,
"slave%d:ip=%s,port=%d,state=%s,"
"slave%d:ip=%s,port=%d,state=%s,"
"
repl_
offset=%lld,lag=%ld\r\n",
"offset=%lld,lag=%ld
\r\n
"
,
slaveid
,
ip
,
slave
->
slave_listening_port
,
state
,
slaveid
,
ip
,
slave
->
slave_listening_port
,
state
,
slave
->
repl_ack_off
,
lag
);
slave
->
repl_ack_off
,
lag
);
slaveid
++
;
slaveid
++
;
...
...
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