ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satoshi Iijima <satoshi.iij...@gmail.com>
Subject Re: Question about rmvall command of Rest API
Date Fri, 07 Oct 2016 08:32:55 GMT
Hello Val,

> I have found that some entries can exist on the near cache but not exist
on the server node.

This case is the same issue as IGNITE-4036 which has been created recently.
https://issues.apache.org/jira/browse/IGNITE-4036

This is the root cause. Please take a look.

Thanks,
Satoshi

2016-10-05 15:25 GMT+09:00 Satoshi Iijima <satoshi.iijima@gmail.com>:

> Hello Val,
>
> This is my cache configuration. The near cache of the client is
> implemented by java source code with setNearEvictionPolicy(5000)
>
>    <property name="cacheConfiguration">
>         <bean class="org.apache.ignite.configuration.CacheConfiguration">
>           <property name="name" value="cache_name"/>
>           <property name="statisticsEnabled" value="true" />
>           <property name="atomicityMode" value="ATOMIC"/>
>           <property name="writeSynchronizationMode" value="FULL_ASYNC"/>
>           <property name="offHeapMaxMemory" value="#{ 14 * 1024L * 1024L *
> 1024L }"/>
>           <property name="expiryPolicyFactory">
>             <bean class="javax.cache.expiry.ModifiedExpiryPolicy"
> factory-method="factoryOf">
>               <constructor-arg>
>                 <bean class="javax.cache.expiry.Duration">
>                   <constructor-arg value="SECONDS"/>
>                   <constructor-arg value="3600"/>
>                 </bean>
>               </constructor-arg>
>             </bean>
>           </property>
>           <property name="evictionPolicy">
>             <bean class="org.apache.ignite.cache.eviction.lru.
> LruEvictionPolicy">
>               <property name="maxSize" value="#{ 10 * 1024L }"/>
>             </bean>
>           </property>
>         </bean>
>     </property>
>
> I have found that some entries can exist on the near cache but not exist
> on the server node.
> In this case, the issue is reproduced. This may be a bug related to
> expiration using near cache.
>
> It would be nice to solve this expiration issue or implement the way to
> clear near cache using Rest API.
>
> Thanks,
> Satoshi
>
>
> 2016-10-05 7:50 GMT+09:00 vkulichenko <valentin.kulichenko@gmail.com>:
>
>> Hi Satoshi,
>>
>> I still can't reproduce this. Can you show your cache configuration and
>> describe how you populate the data?
>>
>> -Val
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/Question-about-rmvall-command-of-Rest-API-
>> tp7903p8094.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>

Mime
View raw message