Any thoughts on this?

>From checking the code it looks like this error is emitted if the object in
question has changed from the time the TTL request was initiated vs when it
was sent & received.  Therefore I'm inclined to think it is harmless.  I
guess the question is - Is it indeed harmless?  Perhaps the TTL request
failed but then would it recover?  If so, should the error severity change
to WARN with a note that it is recoverable?

thanks.

On Tue, Feb 22, 2022 at 1:33 PM Scott Feldstein <scott...@gmail.com> wrote:

> Hi,
> I'm wondering if someone could explain what is going on with the "Failed
> to send TTL update request" error in a little more detail.  We see this
> happening continuously and I don't think there are any adverse effects
> other than seeing the message pop up (~50 times in a 6 hour window).
>
> This is the method in the ignite code that is emitting the error.  What is
> the significance of obsoleteVersionExtras() != null?  One note is that it
> would be much more helpful if the Exception thrown had some sort of message.
>
> protected void checkObsolete() throws GridCacheEntryRemovedException {
>     assert lock.isHeldByCurrentThread();
>
>     if (obsoleteVersionExtras() != null)
>         throw new GridCacheEntryRemovedException();
> }
>
> Configuration:
>
> configuration.setName(<cacheName>);
> configuration.setStatisticsEnabled(true);
> configuration.setCacheMode(CacheMode.REPLICATED);
> configuration.setOnheapCacheEnabled(true);
> configuration.setAtomicityMode(CacheAtomicityMode.ATOMIC);
> configuration.setExpiryPolicyFactory(AccessedExpiryPolicy.factoryOf(Duration.ONE_DAY));
>
>
> Logs
>
>
> 2022-02-22 19:34:26.483 GMT localhost [priority='ERROR'
> thread='sys-#42%local%']
> org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache:?
> - <cacheName> Failed to send TTL update request.
>
> org.apache.ignite.internal.processors.cache.GridCacheEntryRemovedException:
> null at
> org.apache.ignite.internal.processors.cache.GridCacheMapEntry.checkObsolete(GridCacheMapEntry.java:2961)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry.checkReadersLocked(GridDhtCacheEntry.java:709)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry.checkReaders(GridDhtCacheEntry.java:685)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry.readers(GridDhtCacheEntry.java:396)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter$11.run(GridDhtCacheAdapter.java:1482)
> at
> org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7221)
> at
> org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:826)
> at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:829)
>
>
>

Reply via email to