You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Amit Gupta (JIRA)" <ji...@apache.org> on 2014/06/20 11:25:24 UTC

[jira] [Comment Edited] (SLING-3652) Sling Job Consumer Manager : Distribute config should be disabled by default

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

Amit Gupta edited comment on SLING-3652 at 6/20/14 9:24 AM:
------------------------------------------------------------

--deleted-- was lookin at wrong place


was (Author: amitgupt):
There is a problem in initialization of topologyCapabilities when the job processing starts i.e. default value of disableDistribution is not taken into account. So  it shows it as disabled but the job distribution is actually enabled.

Following code is only executed when the configuration is updated, but for the default configuration it is never executed.
{code}
final TopologyCapabilities caps = this.topologyCapabilities;
        if ( caps != null ) {
            caps.update(this.configuration.disableDistribution());
        }
{code}

> Sling Job Consumer Manager : Distribute config should be disabled by default
> ----------------------------------------------------------------------------
>
>                 Key: SLING-3652
>                 URL: https://issues.apache.org/jira/browse/SLING-3652
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Event 3.3.10
>            Reporter: Ashutosh Shroti
>            Assignee: Amit Gupta
>
> Sling Job Consumer Manager service have an following flag:
> Distribute config -> disabled
> This should be disabled by default.
> Use Case: While configuring author instances in the cluster, config changes like disable the listener on topic "com/adobe/granite/workflow/offloading" should be local to an instance. Hence above mentioned flag should be disabled by default to prevent config changes to local instance. 



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