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

Change meta replica count by altering meta table descriptor

    XMLWordPrintableJSON

Details

    • Hide
      Now you can change the region replication config for meta table by altering meta table.
      The old "hbase.meta.replica.count" is deprecated and will be removed in 4.0.0. But if it is set, we will still honor it, which means, when master restart, if we find out that the value of 'hbase.meta.replica.count' is different with the region replication config of meta table, we will schedule an alter table operation to change the region replication config to the value you configured for 'hbase.meta.replica.count'.
      Show
      Now you can change the region replication config for meta table by altering meta table. The old "hbase.meta.replica.count" is deprecated and will be removed in 4.0.0. But if it is set, we will still honor it, which means, when master restart, if we find out that the value of 'hbase.meta.replica.count' is different with the region replication config of meta table, we will schedule an alter table operation to change the region replication config to the value you configured for 'hbase.meta.replica.count'.

    Description

      As now we support altering meta table, it will be better to also deal with changing meta replica number using altering meta, i.e, we could unify the logic in MasterMetaBootstrap to ModifyTableProcedure, and another benefit is that we do not need to restart master when changing the replica number for meta.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: