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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.8
    • Fix Version/s: 3.1.9
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      RPL A (10/09/15)

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: