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

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.6
    • None
    • 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

        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: