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

Test for blocking queue should not test for non-guaranteed condition

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.10, 4.0.16, 3.6.18
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Repl 2019-03-25
    • 28

    Description

      There is a test for the utility class BlockingQueue in mongodb/src/mongo/dbtests/basictests.cpp which tests to make sure a pop on an empty queue doesn't take too long. However, the class provides no such guarantee; under load, the pop may take an arbitrary amount of time. We should remove that check.

      (this is on replication because the only user of this class is the OplogBufferBlockingQueue)

      Attachments

        Issue Links

          Activity

            People

              matthew.russotto@mongodb.com Matthew Russotto
              matthew.russotto@mongodb.com Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: