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

collation.js should use test-specific database

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.2, 3.5.2
    • Querying
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Query 2017-01-23
    • 0

    Description

      As part of collation testing, core/collation.js will convert a non-capped collection to one that is capped via "convertToCapped" command, confirming that the default collation of the original collection is preserved.

      As part of the capped conversion, mongod will confirm that there are no background operations occurring via assertNoBgOpInProgForDb() call, asserting if there is a conflict.

      collation.js uses the "test" database for its operations. As we run collation.js as part of the parallel suite, this raises the possibility that the assertNoBgOpInProgForDb() will fail due active background index build on the same database by another test. We should consider changing collation.js to use a test-specific database to avoid potential conflict.

      Attachments

        Issue Links

          Activity

            People

              tess.avitabile@mongodb.com Tess Avitabile (Inactive)
              james.wahlin@mongodb.com James Wahlin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: