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

CompatUtil#setStopRow semantics problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.16.0
    • core
    • None

    Description

      As noticed by gjacoby , the semantics of the CompatUtil#setStopRow method are incorrect for HBase 1.3. Specifically, we invert the semantics of the inclusive flag.

      Due to the quirks of the HBase 1.3 scan semantics, the resulting behaviour in the specific cases where it used is correct (in fact this behaviour is needed for correct operation), but when used outside this specific use case (single row scan), it would cause problems.

      Find some other solution that solves the backwards compatibility problem, and does not invert the semantics of the call in the range (not single row) scan case.

      Attachments

        1. PHOENIX-5839.4.x.v1.patch
          5 kB
          Istvan Toth

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m