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

Sharding tests should not rely on the order of entries returned when querying the config.shards collection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.15, 3.3.9
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Sharding 16 (06/24/16)
    • Linked BF Score:
      0

      Description

      Sharding continuous stepdown tests fail occasionally because they query the config.shards collection and assume that the entries will be returned in sorted order, but that is not strictly guaranteed in the case where replication might have applied the insertions concurrently and in different order.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: