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

expose splitVector functionality

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding, Usability
    • Labels:
      None
    • Sharding

      splitVector is used by sharding and returns the split points for a collection. It shows pretty impressive performance while doing so. There are many cases where it can be extremely useful to know to split points of a collection, for example:

      • to subdivide workload accross application threads
      • to subdivide workload for map reduce

      There is no easy alternative for the application in case it is not aware of the distribution of a key.
      In the context of sharding, mongos could just return the chunk ranges.
      This should be made available to a 'read' or 'readWrite' application user.
      It seems also that the hadoop connector currently relies on these things, so we should make it properly supported.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            antoine Antoine Girbal
            Votes:
            8 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: