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

move cancelled work items from the sleepersQueue to the readyQueue in the ReplicationExecutor

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: 3.1.8
    • Component/s: Replication
    • None
    • Fully Compatible
    • RPL A (10/09/15)

      Currently, the primary of a three node PV1 replica set can spend 20% of its time iterating over items in the sleepersQueue. This has rendered PV1 unusable for the purposes of CSRS.

      Most of the items in the sleepersQueue are cancelled callbacks concerning elections. Circumventing the problem, by scanning the queue from back to front on inserts, eliminates the performance impact of this, but is not a suitable solution as it does not alleviate the memory overhead.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            matt.dannenberg Matt Dannenberg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: