Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20828 Finish-up AMv2 Design/List of Tenets/Specification of operation
  3. HBASE-21465

Retry on reportRegionStateTransition can lead to unexpected errors

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0
    • amv2
    • None
    • Reviewed

    Description

      It is possible that the reportRegionStateTransition method is succeeded at master side, but before returning the the region server, the rpc connection is broken, or the master restarts. So next when the region server try again,we will find that the state for the region and the TRSP is not correct, and can lead to a RS abort or something even worse.

      We should be able to determine whether a reportRegionStateTransition call is just a retry and has already been succeeded, and just ignore it.

      Attachments

        1. HBASE-21465-UT.patch
          7 kB
          Duo Zhang
        2. HBASE-21465.patch
          17 kB
          Duo Zhang
        3. HBASE-21465-v1.patch
          22 kB
          Duo Zhang
        4. HBASE-21465-v2.patch
          23 kB
          Duo Zhang
        5. HBASE-21465-v3.patch
          27 kB
          Duo Zhang
        6. HBASE-21465-v4.patch
          23 kB
          Duo Zhang

        Activity

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

          People

            zhangduo Duo Zhang
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment