File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ void *bioProcessBackgroundJobs(void *arg) {
297
297
} else if (job_type == BIO_RDB_SAVE ) {
298
298
int usemark ;
299
299
char lastbytes [RDB_EOF_MARK_SIZE ];
300
- char buf [PROTO_IOBUF_LEN ];
300
+ char buf [PROTO_IOBUF_LEN ];
301
301
char eofmark [RDB_EOF_MARK_SIZE ];
302
302
ssize_t readlen , nread , nwritten ;
303
303
off_t left = 0 , repl_transfer_last_fsync_off = 0 ;
@@ -322,7 +322,7 @@ void *bioProcessBackgroundJobs(void *arg) {
322
322
goto done ;
323
323
}
324
324
/* nread here is returned by connSyncReadLine(), which calls syncReadLine() and
325
- * convert "\r\n" to '\0' so 1 byte is lost. */
325
+ * convert "\r\n" to '\0' so 1 byte is lost. */
326
326
server .bio_stat_net_repl_input_bytes += nread + 1 ;
327
327
int ret = inspectBulkPayloadHeaderForErrors (buf );
328
328
if (ret == INSPECT_BULK_PAYLOAD_PRIMARY_ABORT ) {
Original file line number Diff line number Diff line change 49
49
BIO_AOF_FSYNC , /* Deferred AOF fsync. */
50
50
BIO_LAZY_FREE , /* Deferred objects freeing. */
51
51
BIO_CLOSE_AOF , /* Deferred close for AOF files. */
52
- BIO_RDB_SAVE , /* Deferred save RDB to disk on replica */
52
+ BIO_RDB_SAVE , /* Deferred save RDB to disk on replica */
53
53
BIO_NUM_OPS
54
54
};
55
55
You can’t perform that action at this time.
0 commit comments