Add new implicitlyCreateIndex and enforceUniquenessCheck to shardCollection command

XMLWordPrintableJSON

    • Fully Compatible
    • v5.0, v4.4, v4.2
    • Sharding NYC 2022-03-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      implicitlyCreateIndex defaults to true and when set to false, will not create new indexes while running the shardCollection command.

      enforceUniquenessCheck defaults to true and when set to false, ignores uniqueness property when validating indexes for shardCollection.

       Regardless of both settings, shardCollection should still return an error if there are no index that is compatible with the new shard key pattern.

              Assignee:
              Randolph Tan
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: