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

Make OplogBuffer use ProducerConsumerQueue instead of BlockingQueue

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Replication

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: