XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Later
    • Affects Version/s: hbase-10070
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The method returns first non-null replica.
      If first replica is assumed to always be non-null (discussed with Enis), then this code is not necessary, it should return 0th one, maybe assert it's not null.
      If that is not the case, then code may be incorrect and may return non-primary to some code (locateRegion overload) that doesn't expect it.
      Perhaps method should be called getAnyRegionReplica or something like that; and get(Primary?)RegionLocation should return the first.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sershe Sergey Shelukhin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: