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
ce7588c4
Commit
ce7588c4
authored
Dec 11, 2013
by
Salvatore Sanfilippo
Browse files
Merge pull request #847 from yossigo/repldboff-fix
Fix wrong repldboff type which causes dropped replication in rare cases.
parents
e4c6458a
63627dfe
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.h
View file @
ce7588c4
...
@@ -410,7 +410,7 @@ typedef struct redisClient {
...
@@ -410,7 +410,7 @@ typedef struct redisClient {
int
authenticated
;
/* when requirepass is non-NULL */
int
authenticated
;
/* when requirepass is non-NULL */
int
replstate
;
/* replication state if this is a slave */
int
replstate
;
/* replication state if this is a slave */
int
repldbfd
;
/* replication DB file descriptor */
int
repldbfd
;
/* replication DB file descriptor */
long
repldboff
;
/* replication DB file offset */
off_t
repldboff
;
/* replication DB file offset */
off_t
repldbsize
;
/* replication DB file size */
off_t
repldbsize
;
/* replication DB file size */
int
slave_listening_port
;
/* As configured with: SLAVECONF listening-port */
int
slave_listening_port
;
/* As configured with: SLAVECONF listening-port */
multiState
mstate
;
/* MULTI/EXEC state */
multiState
mstate
;
/* MULTI/EXEC state */
...
...
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