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

Increase the cardinality of the new shard key

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 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

      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@mongodb.com Nandini Bhartiya
            Reporter:
            jada.lilleboe@mongodb.com Jada Lilleboe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: