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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 5.0.0-rc0
    • Affects Version/s: 4.9.0-alpha4
    • Component/s: Query Execution
    • None
    • Fully Compatible
    • ALL
    • Query Execution 2021-05-31
    • 44

      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().

       

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

              Created:
              Updated:
              Resolved: