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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 2.7.6
    • Querying, Sharding
    • None
    • Fully Compatible

    Description

      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;
                      }

      Attachments

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

        Issue Links

          Activity

            People

              greg_10gen Greg Studer
              aaron Aaron Staple
              Votes:
              5 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: