Skip to content

HBASE-23996 Add metric for the split WAL procedure - #8515

Open
Umeshkumar9414 wants to merge 3 commits into
apache:masterfrom
Umeshkumar9414:HBASE-23996_split_wal
Open

HBASE-23996 Add metric for the split WAL procedure#8515
Umeshkumar9414 wants to merge 3 commits into
apache:masterfrom
Umeshkumar9414:HBASE-23996_split_wal

Conversation

@Umeshkumar9414

@Umeshkumar9414 Umeshkumar9414 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

We already have deprecated HBASE_SPLIT_WAL_COORDINATED_BY_ZK but some Classes only used by that flow was not marked deprecated. I have marked those deprecated in this PR only. I hope that is fine else I will create another PR for that.

Some screen shots for the old metrics and the new one.
example 1
image (11)
example 2
image (12)
Old one
image (13)

@Umeshkumar9414
Umeshkumar9414 force-pushed the HBASE-23996_split_wal branch from c3b3ed4 to bf73a3d Compare July 30, 2026 08:45
Umeshkumar9414 and others added 2 commits July 30, 2026 14:18
Assert the new splitWAL procedure metric in two places:
TestMasterMetrics#testDefaultMasterMetrics (splitWALSubmittedCount is
registered and reads 0 at rest) and TestSplitWALManager#testSplitLogs
(increments by one per SplitWALProcedure, verified against a captured
baseline on the procedure-based non-ZK split path).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Mark the legacy ZooKeeper-coordinated WAL split coordination classes
(ZKSplitLogManagerCoordination, ZkSplitLogWorkerCoordination) and the
associated MetricsMasterFileSystem source as deprecated, since the
procedure-based distributed WAL splitter (SplitWALManager) is the default
and these are only reachable under the legacy
hbase.split.writer.coordinated.by.zk path.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@Umeshkumar9414
Umeshkumar9414 force-pushed the HBASE-23996_split_wal branch from bf73a3d to 4bff3da Compare July 30, 2026 08:48
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.

1 participant