[infinispan-issues] [JBoss JIRA] (ISPN-1781) Disabling L1 not working
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Mon Jan 23 10:12:19 EST 2012
[ https://issues.jboss.org/browse/ISPN-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661184#comment-12661184 ]
Galder Zamarreño commented on ISPN-1781:
----------------------------------------
The fact that L1 is 'activated', doesn't mean it's necessarily enabled:
{code} if (config.clustering().l1().activated) {
legacy.clustering()
.l1()
.invalidationThreshold(config.clustering().l1().invalidationThreshold())
.lifespan(config.clustering().l1().lifespan())
.onRehash(config.clustering().l1().onRehash());{code}
L1Configuration.disable():
{code} public L1ConfigurationBuilder disable() {
this.enabled = false;
activated = true;
return this;
}{code}
> Disabling L1 not working
> ------------------------
>
> Key: ISPN-1781
> URL: https://issues.jboss.org/browse/ISPN-1781
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 5.1.0.CR4
> Reporter: Galder Zamarreño
> Assignee: Manik Surtani
> Priority: Blocker
> Fix For: 5.1.0.FINAL
>
>
> Even though I disable l1 configuration via:
> {code} return new ConfigurationBuilder()
> .clustering()
> .cacheMode(CacheMode.DIST_SYNC)
> .l1().disable(){code}
> L1 is enabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list