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

shouldn't be able to have an array be the shard key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Environment:
      windows xp
    • Operating System:
      ALL

      Description

      http://groups.google.com/group/mongodb-user/browse_thread/thread/9b0ee9a7e93f1f53

      MongoDB should not allow make an array as shard key, because there is no useful
      And if shard key is set, then saving a doc whose shard key is a array should be invalid.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              axlfu free
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: