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

JS Test single_node_config_server_smoke has race condition

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.1, 3.3.1
    • Sharding
    • Fully Compatible
    • ALL
    • Hide

      Run the jstest jstests/sharding/sync_cluster_config/single_node_config_server_smoke.js.

      Show
      Run the jstest jstests/sharding/sync_cluster_config/single_node_config_server_smoke.js.
    • Sharding E (01/08/16)

    Description

      At https://github.com/mongodb/mongo/blob/master/jstests/sharding/sync_cluster_config/single_node_config_server_smoke.js#L30

      Sometimes TestColl.count({}) could return 3, because the document in the shard0000 is not deleted in time.

      This issue could be avoided by adding "_waitForDelete : true" at the moveChunk command in the previous line.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            williamzhang William Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: