Add API in BackupCursorService for new-style backup cursors

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: