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

Exempt oplog readers from acquiring read tickets

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0, 4.4.11, 4.2.18, 4.0.28
    • None
    • Storage
    • None
    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Execution Team 2020-05-18, Execution Team 2020-06-01, Execution Team 2020-06-15

    Description

      There are certain operations on the system that depend on the ability to replicate oplog entries in order to make progress. Today, secondaries reading the oplog on their sync sources can be blocked by read ticket exhaustion, potentially creating deadlocks. In order to break this deadlock situation, we can exempt oplog read queries from needing to acquire read tickets.
      One good way to determine if a reader is an oplog reader from a downstream node is to use the isReplOplogFetching flag.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            milkie@mongodb.com Eric Milkie
            Votes:
            1 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: