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.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.0
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2020-09-21
    • Linked BF Score:
      15

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: