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

Undo meta replica specialization inside of the region replica framework

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • read replicas
    • None

    Description

      Filing an issue to capture a zhangduo suggestion made in PR that was then carried to a comment over in the design document attached to HBASE-18070 only it is deserving of its own issue.

       

      I do not like that we have a specialized implementation for meta replica inside the region replica framework. They are almost the same so they should share the same code base. I think this enhancement could also be applied to normal RegionReplicaReplicationEndpoint, what we need is the config for the max distance between different secondary replicas. For normal region replicas, the value will be small, which means we will soon block the replication if any replicas are slow, to save memory. For meta replicas, we could have a large default value to let the good replicas catch up fast.

       

      Lets use this issue to fill out more on what zhangduo suggests above.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: