[
https://issues.apache.org/jira/browse/HBASE-30463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127333#comment-18127333
]
Hudson commented on HBASE-30463:
--------------------------------
Results for branch branch-2
[build #1494 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1494/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1494/General_20Nightly_20Build_20Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1494/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1494/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1494/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1494/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk21 hadoop3 checks{color}
-- For more information [see jdk21
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1494/JDK21_20Nightly_20Build_20Report_20_28Hadoop3_29/]
> HMaster fails to initialize when the procedure store contains more than one
> ServerCrashProcedure for the same server
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-30463
> URL: https://issues.apache.org/jira/browse/HBASE-30463
> Project: HBase
> Issue Type: Bug
> Components: master
> Affects Versions: 3.0.0, 2.7.0, 2.6.5, 2.5.14
> Reporter: Bram Schuur
> Assignee: Bram Schuur
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8, 2.5.17
>
>
> Since HBASE-28158, HMaster.finishActiveMasterInitialization collects
> unfinished SCPs with Collectors.toMap(ServerCrashProcedure::getServerName,
> Procedure::getSubmittedTime) with no merge function. If the procedure store
> holds two unfinished SCPs for the same ServerName, the collector throws
> IllegalStateException: Duplicate key. The master aborts on every restart and
> can't recover without manual store surgery. The previous code collected into
> a Set and tolerated this. Duplicate SCPs are possible because the in-memory
> guards depend on DeadServer, which cleanPreviousInstance clears when a server
> restarts on the same host and port while its SCP is still running. Fix: merge
> duplicates with Long::min, matching DeadServer.putIfAbsent's keep-first
> behaviour. Both procedures can then run; they serialize on the server's
> exclusive lock.
> Co-Authored by Claude Code
--
This message was sent by Atlassian Jira
(v8.20.10#820010)