Create a document source aggregation stage $backupCursor that calls into BackupCursorService::openBackupCursor. The companion closeBackupCursor method should be called when the query level cursor is killed via killCursors or the cursor manager times out the cursor.
This aggregation cursor should be tailable and return a document for each file to copy:
{filename: "<filename>"}
This ticket should not add auth rules nor the replication metadata document describing the checkpoint timestamp and oplog range in the checkpoint.
- is depended on by
-
SERVER-36266 Add auth rules for $backupCursor aggregation stage
- Closed
-
SERVER-36267 Add replication metadata document to $backupCursor results
- Closed
-
SERVER-36268 Add ESE support for openBackupCursor
- Closed
-
SERVER-36269 Add backup_restore test for backupCursor FS backups
- Closed