Skip to content

HBASE-30409 Move throttle enabled flag storage from zookeeper to mast… - #8705

Open
Apache9 wants to merge 2 commits into
apache:masterfrom
Apache9:HBASE-30409
Open

Apache9 wants to merge 2 commits into
apache:masterfrom
Apache9:HBASE-30409

Conversation

@Apache9

@Apache9 Apache9 commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

…er local region

@Apache9 Apache9 self-assigned this Sep 27, 2026
@Apache9

Apache9 commented Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

The intention for this PR is to reduce zk deoendencies in HBase.

Also fixed bugs in SwitchRpcThrottleProcedure.
We can not store any non serializable field in procedure because when master restarts, we need to reload the procedure, non serializable field can not be store/reload. We should get it from MasterProcedureEnv.
And also, the procedure should implement GlobalProcedureInterface, instead of ServerProcedureInterface.

import org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.TruncateTableResponse;
import org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.UnassignRegionRequest;
import org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.UnassignRegionResponse;
import org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.*;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Did you mean to insert the wildcard import?

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