Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-751

isFilterDone() not needed with nextRaw()

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • 620

    Description

      Hey James,

      just worked on https://issues.apache.org/jira/browse/HBASE-10117 and noticed that Phoenix unnecessarily calls RegionScaner.isFilterDone() in some (hot) places. isFilterDone() is synchronized and hence causes a noticeable slow down.
      nextRaw() internally calls isFilterDone and only returns true if isFilterDone() returns false, so the extra call is unnecessary,

      Attachments

        Activity

          People

            Unassigned Unassigned
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: