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

'returnedFilenames' does not get cleared in BackupCursorService

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: