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

'returnedFilenames' does not get cleared in BackupCursorService

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2021-07-26, Repl 2021-08-09

      Description

      The BackupCursorService lives on the ServiceContext. This means it could return incorrect results, for example:

      openBackupCursor()
      returns files for collections A and B
      closeBackupCursor()
       
      drop(Collection A)
      checkpoint()
       
      openBackupCursor()
      returns files for Collection B
      closeBackupCursor()
      

      In this case, it would still return Collection A's files as the map wasn't cleared.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              carolyn.duan Carolyn Duan (Inactive)
              Reporter:
              gregory.wlodarek Gregory Wlodarek
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: