You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2025/06/28 09:02:00 UTC
[jira] [Commented] (HBASE-29386) SnapshotProcedure and EnableTableProcedure can cause a deadlock
[ https://issues.apache.org/jira/browse/HBASE-29386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986663#comment-17986663 ]
Hudson commented on HBASE-29386:
--------------------------------
Results for branch branch-2.6
[build #332 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/332/]: (x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/332/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/332/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.6/332/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.6/332/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/332/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop 3.3.5 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/332/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop 3.3.6 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/332/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop 3.4.0 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/332/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test for HBase 2 {color}
(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.1 {color}
> SnapshotProcedure and EnableTableProcedure can cause a deadlock
> ---------------------------------------------------------------
>
> Key: HBASE-29386
> URL: https://issues.apache.org/jira/browse/HBASE-29386
> Project: HBase
> Issue Type: Bug
> Reporter: Hernan Gelaf-Romer
> Assignee: Hernan Gelaf-Romer
> Priority: Major
> Labels: pull-request-available
>
> At my job, we've discovered that enable table procedures can be executed at the same time as a snapshot procedure and can cause a deadlock which prevents both procedures from finishing.
>
> The enable table procedure will be kicked off first, and will run and kick off children subprocedures which will enable the region. At this point, the parent process releases it's lock, and the snapshot procedure starts to execute. The snapshot procedure gets to the state SNAPSHOT_WRITE_SNAPSHOT_INFO, and then continues to repeat this step as it waits for the table to be enabled.
>
> The table enable procedure will never re-acquire the lock and run, which means both procedures are stuck indefinitely. A solution here is to allow the snapshot procedure to be suspended in the case that the table is neither disabled or enabled, which will allow other table related procedures to run
--
This message was sent by Atlassian Jira
(v8.20.10#820010)