You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stepachev Maksim (Jira)" <ji...@apache.org> on 2019/09/20 12:33:00 UTC

[jira] [Updated] (IGNITE-12206) Partition state validation warns are not printed to log

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

Stepachev Maksim updated IGNITE-12206:
--------------------------------------
    Description: 
GridDhtPartitionsExchangeFuture.java

 
{code:java}
 if (grpCtx == null
                        || grpCtx.config().isReadThrough()
                        || grpCtx.config().isWriteThrough()
                        || grpCtx.config().getCacheStoreFactory() != null
                        || grpCtx.config().getRebalanceDelay() == -1
                        || grpCtx.config().getRebalanceMode() == CacheRebalanceMode.NONE
                        || grpCtx.config().getExpiryPolicyFactory() == null
                        || SKIP_PARTITION_SIZE_VALIDATION)
                        return null;{code}
 

Looks like a typo, probably it should be grpCtx.config().getExpiryPolicyFactory() != null

  was:
GridDhtPartitionsExchangeFuture.java

{{}}
{code:java}
 if (grpCtx == null
                        || grpCtx.config().isReadThrough()
                        || grpCtx.config().isWriteThrough()
                        || grpCtx.config().getCacheStoreFactory() != null
                        || grpCtx.config().getRebalanceDelay() == -1
                        || grpCtx.config().getRebalanceMode() == CacheRebalanceMode.NONE
                        || grpCtx.config().getExpiryPolicyFactory() == null
                        || SKIP_PARTITION_SIZE_VALIDATION)
                        return null;{code}
{{}}

Looks like a typo, probably it should be grpCtx.config().getExpiryPolicyFactory() != null


> Partition state validation warns are not printed to log
> -------------------------------------------------------
>
>                 Key: IGNITE-12206
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12206
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Stepachev Maksim
>            Assignee: Stepachev Maksim
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> GridDhtPartitionsExchangeFuture.java
>  
> {code:java}
>  if (grpCtx == null
>                         || grpCtx.config().isReadThrough()
>                         || grpCtx.config().isWriteThrough()
>                         || grpCtx.config().getCacheStoreFactory() != null
>                         || grpCtx.config().getRebalanceDelay() == -1
>                         || grpCtx.config().getRebalanceMode() == CacheRebalanceMode.NONE
>                         || grpCtx.config().getExpiryPolicyFactory() == null
>                         || SKIP_PARTITION_SIZE_VALIDATION)
>                         return null;{code}
>  
> Looks like a typo, probably it should be grpCtx.config().getExpiryPolicyFactory() != null



--
This message was sent by Atlassian Jira
(v8.3.4#803005)