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

change_streams_new_shard_new_database.js expects a deterministic assignment of a database to a shard when 'create' command is issued

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Query 2020-11-02, Query 2020-11-16, Execution Team 2020-10-19
    • 31

    Description

      When setting up the initial state change_streams_new_shard_new_database.js expects  a deterministic assignment of a database to a shard (specifically, to "newShard1") when 'create' command is issued at line 78. A check if that happened is done on the subsequent line. However, an assignment of a database to a shard exhibits apparent non-determinism, which causes sporadic test failures.

       

      Attachments

        Activity

          People

            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: