[
https://issues.apache.org/jira/browse/HBASE-29386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986757#comment-17986757
]
Hudson commented on HBASE-29386:
--------------------------------
Results for branch master
[build #1312 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1312/]:
(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/master/1312/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1312/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/master/1312/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/master/1312/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/master/1312/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 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)