Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25644

Scan#setSmall blindly sets ReadType as PREAD

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      setSmall(boolean small) takes a boolean param and it might get called with false also. But with out considering that, we set read type as PREAD.
      Phoenix clones Scan object and do
      newScan.setSmall(scan.isSmall());
      So this makes ALL types of scans from phoenix as PREAD type now. (Even full table scan)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anoop.hbase Anoop Sam John
                Reporter:
                anoop.hbase Anoop Sam John
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: