HBase
  1. HBase
  2. HBASE-5799

[89-fb] Multiget API may return incomplete resutls

    Details

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

      Description

      There is a serious bug in the multiget which will cause the multiget function only returns part of the results.

      In the process function:
      The initial region is set before sorting the input list.
      So after the input list has been sorted, the initial region may no longer be the correct region for the first row in the sorted list.

      So the first row in the sorted list may be sent to the wrong region server which has no result for this row.

        Activity

        Hide
        Liyin Tang added a comment -

        @Stack, Actually, this is an old bug in fb-89 branch only. No need to fix it in trunk.
        Also attach the fix here.

        Show
        Liyin Tang added a comment - @Stack, Actually, this is an old bug in fb-89 branch only. No need to fix it in trunk. Also attach the fix here.
        Hide
        stack added a comment -

        @Liyin Do we need this out on trunk? What commit on 0.89fb was this fix? Thanks.

        Show
        stack added a comment - @Liyin Do we need this out on trunk? What commit on 0.89fb was this fix? Thanks.
        Hide
        Liyin Tang added a comment -

        Fixed internally and will be committed in 89-fb branch.

        Show
        Liyin Tang added a comment - Fixed internally and will be committed in 89-fb branch.

          People

          • Assignee:
            Liyin Tang
            Reporter:
            Liyin Tang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development