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

Uninitialized rowLimit in limit activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.2
    • Component/s: None
    • Labels:
      None

      Description

      This was picked up by valgrind, in a call to getMetaInfo.
      If getMetaInfo() is called very early (before LIMIT has started), then the getMetaInfo() would have set totalRowsMax to the uninitialized rowLimit.

      Potentially, this cause problems to down stream activities that use this meta data. In reality, most places that check an inputs totalRowsMax, check to see if it matches totalRowsMin and act on it only if they do.

      There's only one place, I think, that uses totalRowsMax on it's own afaics - hash dedup with fixed record sizes, which uses it as a starting estimate for the # of buckets (but will ensure within a min/max range anyway)

        Attachments

          Activity

            People

            Assignee:
            jakesmith Jake Smith
            Reporter:
            jakesmith Jake Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: