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

Support hashed fields in compound indexes and compound shard keys

    XMLWordPrintableJSON

Details

    • Sharding
    • Fully Compatible

    Description

      Provide ability to have hashed fields in compound indexes.

      For example:

      db.collection.ensureIndex({a : 'hashed', b : 1})

      Required for compound shard keys where one of the fields needs to be hashed for even distribution across the cluster.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding Backlog - Sharding Team
              daniel.roberts@10gen.com daniel.roberts@10gen.com
              Votes:
              42 Vote for this issue
              Watchers:
              46 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: