Helper function for readSyncBulkPayload() to discard our old backups * when the loading succeeded. */
| 1536 | /* Helper function for readSyncBulkPayload() to discard our old backups |
| 1537 | * when the loading succeeded. */ |
| 1538 | void disklessLoadDiscardBackup(dbBackup *buckup, int flag) { |
| 1539 | discardDbBackup(buckup, flag, replicationEmptyDbCallback); |
| 1540 | } |
| 1541 | |
| 1542 | /* Asynchronously read the SYNC payload we receive from a master */ |
| 1543 | #define REPL_MAX_WRITTEN_BEFORE_FSYNC (1024*1024*8) /* 8 MB */ |
no test coverage detected