[SERVER-36265] Expose `BackupCursorService::openBackupCursor` to aggregation command. Created: 25/Jul/18  Updated: 29/Oct/23  Resolved: 09/Aug/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.2

Type: New Feature Priority: Major - P3
Reporter: Daniel Gottlieb (Inactive) Assignee: Daniel Gottlieb (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-36266 Add auth rules for $backupCursor aggr... Closed
is depended on by SERVER-36267 Add replication metadata document to ... Closed
is depended on by SERVER-36268 Add ESE support for openBackupCursor Closed
is depended on by SERVER-36269 Add backup_restore test for backupCur... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-07-30, Storage NYC 2018-08-13
Participants:
Linked BF Score: 0

 Description   

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.



 Comments   
Comment by Githook User [ 10/Aug/18 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-36265: Correct number of expected files for nojournal in aggregation_backup_cursor test.
Branch: master
https://github.com/mongodb/mongo/commit/d054cd1149acb76830fff466ef3bb234741b5a46

Comment by Githook User [ 09/Aug/18 ]

Author:

{'username': 'dgottlieb', 'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com'}

Message: SERVER-36265: Expose a $backupCursor aggregation stage.
Branch: master
https://github.com/mongodb/mongo/commit/ca4d34ece27104dd9bb62f9e46120e83398b71f3

Generated at Thu Feb 08 04:42:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.