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

Jeffrey Zhong commented on HBASE-11370:
---------------------------------------

The following seems not right to me or the name are confusing.  
{code}
+      if (lastHost != null && newState != State.SPLIT) {
+        lastAssignments.put(encodedName, lastHost);
+        regionAssignments.put(hri, lastHost);
{code}
I think regionAssignments should only be updated for State.Open not for all 
other cases.

> SSH doesn't need to scan meta if not using ZK for assignment
> ------------------------------------------------------------
>
>                 Key: HBASE-11370
>                 URL: https://issues.apache.org/jira/browse/HBASE-11370
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: hbase-11370.patch
>
>
> If we don't use ZK for assignment, the meta content should be the same as 
> that in memory. So we should be able to avoid a meta scan.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to