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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.6
    • Component/s: Querying, Sharding
    • Labels:
      None
    • Backwards Compatibility:
      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

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

                Dates

                Created:
                Updated:
                Resolved: