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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • RSS Sydney
    • Execution Team 2024-04-29, RSS Sydney - 2024-05-13
    • 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: