[infinispan-issues] [JBoss JIRA] (ISPN-9584) Lifespan/MaxIdle = 0 from Hot Rod behaviour is inconsistent with embedded
Masafumi Miura (Jira)
issues at jboss.org
Thu Oct 4 09:08:00 EDT 2018
Masafumi Miura created ISPN-9584:
------------------------------------
Summary: Lifespan/MaxIdle = 0 from Hot Rod behaviour is inconsistent with embedded
Key: ISPN-9584
URL: https://issues.jboss.org/browse/ISPN-9584
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.4.0.CR3
Reporter: Masafumi Miura
Assignee: Tristan Tarrant
Fix For: 9.4.0.Final
In embedded mode, specifying 0 for lifespan or maxIdle results in immediate expiration.
In Hot Rod, however, 0 results in the entry using the default server-side expiration. This was done in order to not introduce a protocol change at the time.
The 2.2 protocol introduced timeunit support with special values for default and infinity.
We should therefore not override a user-specified value of 0 with "default".
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list