Uh oh!
There was an error while loading. Please reload this page.
HBASE-29831 Fix for NPE in region replication (branch-2.5 backport) - #7684
HBASE-29831 Fix for NPE in region replication (branch-2.5 backport)#7684krconv wants to merge 1 commit into
Conversation
Signed-off-by: Chandra Kambham <chandra@apache.org> Signed-off-by: Peng Lu <lupeng@apache.org>
Apache-HBase
commented
Jan 28, 2026
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 28, 2026
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 28, 2026
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 28, 2026
🎊 +1 overall
This message was automatically generated. |
guluo2016
commented
Jan 29, 2026
There is a test case failed ( |
| // they come online. | ||
| if (useCache && locations.size() == 1 && TableName.isMetaTableName(tableName)) { | ||
| if (tableDescriptors.get(tableName).getRegionReplication() > 1) { | ||
| TableDescriptor td = tableDescriptors.get(tableName); |
There was a problem hiding this comment.
Sorry, I just noticed a few additional concerns after approving
I found the issue doesn't seem to exist for branch-2.5.
The code is only executed when seCache && locations.size() == 1 && TableName.isMetaTableName(tableName) is true, whch means that it's meta table, and the td of meta table is not null in here . right ? @krconv
There was a problem hiding this comment.
Oh I see; agreed it doesn't seem to apply here. Thank you for finding that! I'll close this.
Backport to branch-2.5 for PR #7629