Skip to content

Conversation

@Kota-SH
Copy link
Contributor

@Kota-SH Kota-SH commented Feb 10, 2026

HBASE-29691: Change TableName.META_TABLE_NAME from being a global static

Change TableName.META_TABLE_NAME from a global static constant to a dynamically discovered value from ConnectionRegistry.

Please refer to earlier discussion on the PR #7558 for further details.

Key changes:

  • Add ConnectionRegistry.getMetaTableName() method for dynamic discovery
  • Add MetaTableNameStore for persisting meta table name in master region
  • Update TableName to support dynamic meta table name
  • Update HMaster to integrate with MetaTableNameStore
  • Update all client and server code to use dynamic meta table name
  • Add protobuf changes for meta table name in Registry.proto

Refactoring for the test classes to be handled separately.

Change TableName.META_TABLE_NAME from a global static constant to a
dynamically discovered value from ConnectionRegistry.

Key changes:
- Add ConnectionRegistry.getMetaTableName() method for dynamic discovery
- Add MetaTableNameStore for persisting meta table name in master region
- Update TableName to support dynamic meta table name
- Update HMaster to integrate with MetaTableNameStore
- Update all client and server code to use dynamic meta table name
- Add protobuf changes for meta table name in Registry.proto

Refactoring for the test classes to be handled separately.
Copy link
Contributor

@anmolnar anmolnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. What are the build failures?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants