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

'returnedFilenames' does not get cleared in BackupCursorService

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-07-26, Repl 2021-08-09

      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.

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

              Created:
              Updated:
              Resolved: