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

The shardVersion recovery task runs on a fixed-size executor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2020-08-10, Sharding 2020-08-24

      Description

      Currently, the shardVersion recovery task is scheduled on a fixed-size executor. What is worse, the "opportunistic recovery" task, which we spawn on step-up, runs on the same fixed-size executor and does a blocking wait for the shardVersion recovery to complete, which is this is deadlock-prone.

      The shardVersion recovery task must instead use the sharding unilimited size executor.

        Attachments

          Activity

            People

            Assignee:
            kaloian.manassiev Kaloian Manassiev
            Reporter:
            kaloian.manassiev Kaloian Manassiev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: