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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-05-03
    • 50

      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.

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

              Created:
              Updated:
              Resolved: