mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Fix wrong repldboff type which causes dropped replication in rare cases.
This commit is contained in:
parent
11120689c4
commit
88a5cede88
@ -485,7 +485,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 */
|
||||||
sds replpreamble; /* replication DB preamble. */
|
sds replpreamble; /* replication DB preamble. */
|
||||||
long long reploff; /* replication offset if this is our master */
|
long long reploff; /* replication offset if this is our master */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user