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

Exclude the oplog when auto compaction is enabled through gEnableAutoCompaction

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • RSS Sydney
    • 2024-01-09 - I Grew Tired
    • 3

      SERVER-83734 made it possible to enable background compaction by default when gEnableAutoCompaction is set to true.
      In SERVER-83548, we decided to exclude the oplog by default when the autoCompact command is executed.

      We should exclude the oplog as well when background compaction is enabled through gEnableAutoCompaction.

      This ticket should ensure the oplog is excluded whether background compaction is enabled through the autoCompact command or gEnableAutoCompaction. Furthermore, we should avoid duplicating code. If possible, we should create a function that would definite the collections that are excluded by default.

            Assignee:
            Unassigned Unassigned
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: