When enabling sharding in an existing collection, make sure all docs have values on the sharding keys

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.7.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1) create collection x
      2) add document

      { b: 1 }

      3) create index

      { a : 1 }


      4) shardcollection x

            Assignee:
            Alberto Lerner (Inactive)
            Reporter:
            Alberto Lerner (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: