You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/05/20 13:32:39 UTC

[jira] [Commented] (SLIDER-83) RoleHistory to stop logging every released node in teardown

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

Steve Loughran commented on SLIDER-83:
--------------------------------------

The simplest solution here is to have a teardown mode -when set the {{maybeSaveHistory()}} code will not save its state.
The last state changed before teardown contains all the information needed to resume placement -which nodes were active at the time the state was saved. Logging that they were saved prior to teardown is irrelevant.

> RoleHistory to stop logging every released node in teardown
> -----------------------------------------------------------
>
>                 Key: SLIDER-83
>                 URL: https://issues.apache.org/jira/browse/SLIDER-83
>             Project: Slider
>          Issue Type: Improvement
>          Components: appmaster
>    Affects Versions: Slider 0.30
>            Reporter: Steve Loughran
>            Priority: Minor
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> handle clean termination better -don't bother updating history as it will only
> trigger multiple saves in a very short period of time all with the 
> same effective state



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