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

count command does not check chunk ranges

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.1.0
    • Component/s: Sharding
    • Labels:
    • ALL

      Normal code path for query (with non empty query selector) on a shard would involve calling ShardChunkManager::belongsToMe to make sure that the matched document actually belongs to the current shard. There is no such check being done on the count command.

            Assignee:
            Unassigned Unassigned
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: