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

Audit change collection truncate markers use of abandonSnapshot()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-10-16, Execution EMEA Team 2023-10-30

    Description

      ChangeStreamChangeCollectionManager::removerExpiredChangeCollectionDocumentsWithTruncate() holds a collection pointer, but abandons the snapshot before issuing a range truncate. 

      A collection instance is only valid while a reference to the catalog instance is held or stashed and as long as the storage snapshot remains open. 

      All of the change collection truncate marker code should be audited for improper use of abandonSnapshot()

      Attachments

        Activity

          People

            yujin.kang@mongodb.com Yujin Kang Park
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: