Skip to content

HBASE-30142 Resolve NPE while running recoverUnknown command because null RegionLocation#8347

Merged
virajjasani merged 5 commits into
apache:branch-2from
Umeshkumar9414:HBASE-30142_branch-2
Jul 7, 2026
Merged

HBASE-30142 Resolve NPE while running recoverUnknown command because null RegionLocation#8347
virajjasani merged 5 commits into
apache:branch-2from
Umeshkumar9414:HBASE-30142_branch-2

Conversation

@Umeshkumar9414

Copy link
Copy Markdown
Contributor

MasterRpcServices.scheduleSCPsForUnknownServers() has no null guard before calling isServerUnknown(). With the old code, regions with null serverName (OFFLINE/FAILED_OPEN in-between state) would spuriously trigger a ServerCrashProcedure. The fix prevents that.

@liuxiaocs7 liuxiaocs7 added the backport This PR is a back port of some issue or issues already committed to master label Jun 13, 2026

@virajjasani virajjasani left a comment

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.

+1

@virajjasani virajjasani merged commit 540d68c into apache:branch-2 Jul 7, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a back port of some issue or issues already committed to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants