helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xia Lei (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-536) IdealState should ignore null value for InstanceGroupTag.
Date Fri, 31 Oct 2014 01:15:34 GMT

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

Xia Lei commented on HELIX-536:
-------------------------------

The case was found in Espresso, when Espresso does rebalance, it resets IdealState as:

 idealState.setInstanceGroupTag(idealState.getInstanceGroupTag()); 

which causes the problem when the InstanceGroup is not set before, it ends up shows "InstanceTagGroup":null
in IdealState which is not acceptable by Espresso.   

Espresso may need to verify whether getInstanceGroup() return null, but Helix should also
check and ignore null value in case the caller does not check. 

> IdealState should ignore null value for InstanceGroupTag.
> ---------------------------------------------------------
>
>                 Key: HELIX-536
>                 URL: https://issues.apache.org/jira/browse/HELIX-536
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Xia Lei
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message