full document always loaded for matches if there is a chunk manager

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.7.6
    • Affects Version/s: None
    • Component/s: Querying, Sharding
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This renders covered indexes ineffective when shardingState.needShardChunkManager(pq.ns()) is true. Not sure if this is true in all sharding setups or just some.

                      DiskLoc cl = _c->currLoc();
                      if ( _chunkManager && ! _chunkManager->belongsToMe( cl.obj() ) ) { // TODO: should make this covered at some point
                          _nChunkSkips++;
                          // log() << "TEMP skipping un-owned chunk: " << _c->current() << endl;
                      }
      

        1. test-index-covered.py
          2 kB
          Alexander Komyagin

              Assignee:
              Greg Studer (Inactive)
              Reporter:
              Aaron Staple (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: