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

Add the new compaction "freeSpaceTargetMB" option to the compact indexes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • c(3x10^8)-StorEng - 2023-11-14, 2023-11-28 - Anthill Tiger
    • 3

      This part is missing from SERVER-80120. There is at least another compact call that should use the new freeSpaceTargetMB option. This is the list of all the compact calls without the new option:

      src/mongo/db/catalog/index_catalog_impl.cpp:1991:        Status status = entry->accessMethod()->compact(opCtx);
      src/mongo/db/index/index_access_method.cpp:735:    return this->_newInterface->compact(opCtx);
      src/mongo/db/index/columns_access_method.cpp:512:    return _store->compact(opCtx);
      src/mongo/scripting/mozjs/mongo.cpp:588:    ptr->compact(cx, args);
      

            Assignee:
            sean.watt@mongodb.com Sean Watt
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: