Helper function for readSyncBulkPayload() to make backups of the current * databases before socket-loading the new ones. The backups may be restored * by disklessLoadRestoreBackup or freed by disklessLoadDiscardBackup later. */
| 1520 | * databases before socket-loading the new ones. The backups may be restored |
| 1521 | * by disklessLoadRestoreBackup or freed by disklessLoadDiscardBackup later. */ |
| 1522 | dbBackup *disklessLoadMakeBackup(void) { |
| 1523 | return backupDb(); |
| 1524 | } |
| 1525 | |
| 1526 | /* Helper function for readSyncBulkPayload(): when replica-side diskless |
| 1527 | * database loading is used, Redis makes a backup of the existing databases |
no test coverage detected