[ 
https://issues.apache.org/jira/browse/HBASE-8040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597423#comment-13597423
 ] 

Ted Yu commented on HBASE-8040:
-------------------------------

{code}
+        long currentOfflineTimeStamp = state.getStamp();
         if (regionOpenState == RegionOpeningState.OPENED) {
           // Transition RegionState to PENDING_OPEN
+          // Check if already the offline state has been updated due to a
+          // failure in prev assign
+          if (state.isOffline() && currentOfflineTimeStamp != 
state.getStamp()) {
{code}
Looks like the window during which we detect the above condition is small.
                
> Race condition in AM after HBASE-7521 (only 0.94)
> -------------------------------------------------
>
>                 Key: HBASE-8040
>                 URL: https://issues.apache.org/jira/browse/HBASE-8040
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.6
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.94.6
>
>         Attachments: HBASE-8040.patch
>
>
> This is a problem that introduced when we tried to solve HBASE-7521.
> https://issues.apache.org/jira/browse/HBASE-7521?focusedCommentId=13576083&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576083
> See the above comment and exactly the same has happened.  Will come up with a 
> solution for the same.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to