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

Robustify indexed_insert_text.js in read concern: local write concern: 1 scenario

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 4.9.0-alpha4
    • 5.0.0-rc0
    • Query Execution
    • None
    • Fully Compatible
    • ALL
    • Query Execution 2021-05-31
    • 44

    Description

      indexed_insert_text.js test suite main verification logic depends on the guarantee that the text index is created and visible to other transaction but due to read concern/write concern combination, it's not visible.

      The simplest fix on top of my head is to wait for the text index to be visible using getIndexes().

       

      Attachments

        Activity

          People

            yoonsoo.kim@mongodb.com Yoon Soo Kim
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: