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
888400eb
Commit
888400eb
authored
May 29, 2013
by
antirez
Browse files
repl_offset field in INFO replication is now just offset.
parent
37c29e03
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
888400eb
...
@@ -2344,7 +2344,7 @@ sds genRedisInfoString(char *section) {
...
@@ -2344,7 +2344,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