ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepachev Maksim (Jira)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-12206) Partition state validation warns are not printed to log
Date Fri, 20 Sep 2019 12:33:00 GMT

     [ 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)

Mime
View raw message