Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36216

Add API in BackupCursorService for new-style backup cursors

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.2
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-07-30

      For this ticket:

      1. Add a storage engine API for opening a backup cursor that returns a list of files that need to be copied.
      2. Add a complementary method for closing.
      3. Have the BackupCursorService use this open/close API.
      4. Ensure BackupCursorService fails opening cursors when one is already open (regardless of whether it's via fsync or openBackupCursor).
      5. Ensure BackupCursorService fails when using the wrong "close" method. I.e: using using fsyncUnlock after openBackupCursor must not work.

      For later:

      1. Adding the "metadata" document with replication information to the "open" result.
      2. Adding the aggregation stage/exposing this to the client.

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: