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

allow dummy table scans in no table scan mode

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • ALL

      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).

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

              Created:
              Updated:
              Resolved: