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

allow dummy table scans in no table scan mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Incomplete
    • None
    • None
    • Querying
    • ALL

    Description

      Implement what I described here:

              if ( _impossible ) {
                  // TODO We might want to allow this dummy table scan even in no table
                  // scan mode, since it won't scan anything.
                  if ( _frs.nNontrivialRanges() )
                      checkTableScanAllowed( _frs.ns() );
                  return shared_ptr<Cursor>( new BasicCursor( DiskLoc() ) );
              }

      Also audit additional notablescan functionality (see SERVER-2222).

      Attachments

        Issue Links

          Activity

            People

              david.storch@mongodb.com David Storch
              aaron Aaron Staple
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: