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

Remove RecordStore::compactsInPlace()

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.3.1
    • None
    • Storage
    • Fully Compatible
    • Execution Team 2019-09-23

    Description

      All storage engines (except mobile) return true for this function.

      Mobile does not support compacting, so RecordStore::compactSupported() returns false and makes the compactsInPlace() check redundant in this case.

      We can assume that any storage engine that can compact will do so in-place. We may remove the compactsInPlace() check and all the alternative logic after this check inĀ collection_compact.cpp

      Attachments

        Activity

          People

            evgeni.dobranov@mongodb.com Evgeni Dobranov
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: