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

Startup cleans up non-existent Sorter temp file after failing to resume an index build.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.8.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2020-09-21
    • 15

      When we fail to resume an index build, we remove the Sorter temporary files saved from the previous shutdown. However, if the index build was interrupted during the drain phase, we do not retain the Sorter temporary files or persist the filenames in the internal idents containing the resumable information for the interrupted index build. This may result in the cleanup code dereferencing an uninitialized boost::optional IndexSorterInfo::fileName field.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: