Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-28094

Optimization for unfiltered indexes was incorrect

    XMLWordPrintable

Details

    • Regression
    • Status: Resolved
    • Not specified
    • Resolution: Fixed
    • None
    • 8.8.4
    • JHTree
    • None

    Description

      The code in CKeyCursor::_lookup:

          if ((lastSeg == 0) && !matched)
          {
              //Special case reading a file with no filter - fall into the next processing.
              node.clear();
              matched = true;
          }
      
      

      However lastSeg is inclusive - so an unfiltered index read should be comparing against -1.

      However that value is never passed, and some of the functions that are called like
      SegMonitorList::matchesBuffer will not process it correctly. NOTE: IndexRowFilter::matchesBuffer does support it.

      Attachments

        Activity

          People

            richardkchapman Richard Chapman
            ghalliday Gavin Halliday
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: