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

Synchronise the execution of the defragmentation VS autosplit on every collection.

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-01-10, Sharding EMEA 2022-01-24

      As per today we are ensuring that a user isn't allowed to enable both chunk autosplit and defragmentation on a collection within the context of a single configureCollectionAutoSplitter command (as the concurrent execution of these two processes may produce conflicting operations).

      Nevertheless, there are more complex interactions that may lead to such undesired state (e.g. a sequence of two configureCollectionAutoSplitter requests, the first enabling autosplit, the second one requesting for defragmentation) which are currently unmanaged: the most recent request should instead cause the execution of the conflicting process to be stopped.

      In addition to this, the completion of the chunk defragmentation process should trigger the re-activation of the autosplit process on the affected collection.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: