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

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

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

      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_10gen Greg Studer
            Reporter:
            aaron Aaron Staple
            Votes:
            5 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: