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

The client zk syncer should deal with meta replica count change

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.4.0
    • master, Zookeeper
    • None
    • Reviewed

    Description

      The failure of TestSeparateClientZKCluster is because that, we start the zk syncer before we initialize meta region, and after HBASE-25099, we will scan zookeeper to get the meta znodes directly instead of checking the config, so we will get an empty list since there is no meta location on zk yet, thus we will sync nothing.

      But changing the order can not solve everything, as after HBASE-25099, we can change the meta replica count without restartinig master, so the zk syncer should have the ability to know the change and start to sync the location for the new replicas.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: