mirror of
https://github.com/fluencelabs/redis
synced 2025-04-27 11:32:13 +00:00
Merge pull request #847 from yossigo/repldboff-fix
Fix wrong repldboff type which causes dropped replication in rare cases.
This commit is contained in:
commit
ce7588c43e
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user