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

Improve the logic to consume streaming actions on the Balancer secondary thread

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-04-04

    Description

      The secondary thread of the balancer is meant to retrieve a stream of defragmentation command descriptors from the defragmentation policy, and to be put on pause when there is no new activity to be consumed.

      The logic to suspend/resume the action of the thread is currently implemented within the policy, and it could be greatly simplified if it were brought back to the balancer (improving separation of concerns and allowing to create a generic synch infrastructure that could be reused to implement SERVER-64171).

      Attachments

        Activity

          People

            paolo.polato@mongodb.com Paolo Polato
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: