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

Scan#setSmall blindly sets ReadType as PREAD

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment