Increase the cardinality of the new shard key

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.2.1, 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.2, v7.1, v7.0
    • 5
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The write_without_shard_key_with_resharding.js test fails because the sampling policy that creates the split points is unable to find 20 distinct shard key values. The custom shard key value (used for resharding) is determined randomly. Changing this to a monotonically increasing integer will ensure that each document has a unique shard key value for the split points.

              Assignee:
              Nandini Bhartiya
              Reporter:
              Jada Lilleboe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: