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

Add a 'does_not_support_stepdowns' tag to the geo_borders.js test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-05-03
    • 50

    Description

      geo_borders.js first calls createIndex expecting it to fail, then secondly calls createIndex with a different spec expecting it to succeed. However, both requests have the same default index name, and due to the test suite stepping down the primary frequently, the second request can target a node that hasn't yet aborted the first request.

      Simple solution is to add the does_not_support_stepdowns tag to the test. This also protects the subsequent queries expecting to use the index against targeting a primary node with a still incomplete index.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: