Skip to content

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

Open
Umeshkumar9414 wants to merge 5 commits into
apache:branch-2.5from
Umeshkumar9414:HBASE-30142_branch-2.5
Open

HBASE-30142 Resolve NPE while running recoverUnknown command because null RegionLocation#8349
Umeshkumar9414 wants to merge 5 commits into
apache:branch-2.5from
Umeshkumar9414:HBASE-30142_branch-2.5

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.

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