count command does not check chunk ranges

XMLWordPrintableJSON

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

      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
            Reporter:
            Randolph Tan
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: