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

Forbid concurrent compact commands on the same namespace

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc7
    • Affects Version/s: None
    • Component/s: None
    • RSS Sydney
    • Fully Compatible
    • v8.0
    • Execution Team 2024-04-29, RSS Sydney - 2024-05-13, RSS Sydney - 2024-05-28
    • 5

      This is needed to have accurate stats after issuing a compact command, especially when executed with the dry run option:

      Thread 1: compact table A, and finish
      Thread 2: compact table A, and finish
      Thread 1: get stats for reclaimable space
      

      Here the thread 2 will impact the stats retrieved by the thread 1. We should ensure the command is finished before allowing another compact command on the same namespace.

            Assignee:
            clarisse.cheah@mongodb.com Clarisse Cheah
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: