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

Make OplogBuffer use ProducerConsumerQueue instead of BlockingQueue

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Replication
    • Labels:
      None

      Description

      The replication oplog buffer is the last and only user of BlockingQueue in https://github.com/mongodb/mongo/blob/master/src/mongo/util/queue.h

      It would be better if we could switch to the ProducerConsumerQueue in https://github.com/mongodb/mongo/blob/master/src/mongo/util/producer_consumer_queue.h, which is used elsewhere in the code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-repl Backlog - Replication Team
              Reporter:
              matthew.russotto Matthew Russotto
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: