Github user poornachandra commented on a diff in the pull request:

    https://github.com/apache/incubator-tephra/pull/32#discussion_r100043323
  
    --- Diff: 
tephra-hbase-compat-1.1-base/src/test/java/org/apache/tephra/hbase/txprune/InvalidListPruneTest.java
 ---
    @@ -334,6 +337,45 @@ public Table get() throws IOException {
         }
       }
     
    +  @Test(timeout = 60000L)
    +  public void testClusterShutdown() throws Exception {
    +    java.util.concurrent.ExecutorService executorService = 
Executors.newSingleThreadExecutor();
    +    try {
    +      // Create a new transaction snapshot
    +      InMemoryTransactionStateCache.setTransactionSnapshot(
    +        new TransactionSnapshot(100, 100, 100, ImmutableSet.of(50L),
    +                                ImmutableSortedMap.<Long, 
TransactionManager.InProgressTx>of()));
    +      // Run major compaction
    --- End diff --
    
    The comment can be changed to - `Try to create a situation where HBase 
shuts down when the async prune writer thread is trying to write to the prune 
table on a compaction. This will surface any deadlocks during HBase shutdown.`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to