Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
4.0.0-alpha-1
-
None
-
Reviewed
Description
AddPeerProcedure will restore syncReplicationPeerLock when replayed in master recovery, however the replicationPeerManager has not been initialized when replay procedure, which will cause a nullPointerException and master to abort.
@Override protected void afterReplay(MasterProcedureEnv env) { // ...... if (peerConfig.isSyncReplication()) { if (!env.getReplicationPeerManager().tryAcquireSyncReplicationPeerLock()) { throw new IllegalStateException( "Can not acquire sync replication peer lock for peer " + peerId); } } }
Attachments
Issue Links
- relates to
-
HBASE-27984 NPE in MigrateReplicationQueueFromZkToTableProcedure recovery
- Resolved
- links to