huaxiangsun opened a new pull request #1425: HBASE-24105 [Flakey Test] 
regionserver.TestRegionReplicas
URL: https://github.com/apache/hbase/pull/1425
 
 
   Here is the root cause analysis so far. 
   {code}
   CloseRegionHandler                                                           
            TestCode 
          try {
              getRegionsInTransitionInRS().remove(region);
                                                                                
                            if (getRegionsInTransitionInRS.empty()) {
                                                                                
                                 // In OpenRegionHandler context
                                                                                
                                 getRegionsInTransitionInRS.add(region);
                                                                                
                            }
          } finally {
             getRegionsInTransitionInRS().remove(region);
          }
                                                                                
                         // OpenRegionHandler found out entry missing
   {code}
   
   The fix is that we do not need the first remove().
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to