You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Zhen Zhang (JIRA)" <ji...@apache.org> on 2014/04/28 23:21:15 UTC

[jira] [Updated] (HELIX-342) set info field in current-state only if it's not empty

     [ https://issues.apache.org/jira/browse/HELIX-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhen Zhang updated HELIX-342:
-----------------------------

    Description: 
task framework uses an additional info field in the current-state. the default value is an empty string. we may not set it if it is empty.

In HelixStateTransitionHandler#postHandleMessage()

_currentStateDelta.setInfo(partitionId, taskResult.getInfo());

this is a perf concern instead of correctness

  was:
task framework uses an additional info field in the current-state. the default value is an empty string. we may not set it if it is empty.

In HelixStateTransitionHandler#postHandleMessage()

_currentStateDelta.setInfo(partitionId, taskResult.getInfo());


> set info field in current-state only if it's not empty
> ------------------------------------------------------
>
>                 Key: HELIX-342
>                 URL: https://issues.apache.org/jira/browse/HELIX-342
>             Project: Apache Helix
>          Issue Type: Sub-task
>            Reporter: Zhen Zhang
>            Assignee: Zhen Zhang
>
> task framework uses an additional info field in the current-state. the default value is an empty string. we may not set it if it is empty.
> In HelixStateTransitionHandler#postHandleMessage()
> _currentStateDelta.setInfo(partitionId, taskResult.getInfo());
> this is a perf concern instead of correctness



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