Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5295

Remote cache entries with sub-second lifetime never expire

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.Beta1
    • 7.2.0.Alpha1
    • Remote Protocols
    • None

      remoteCache.put("key", "value", 999, TimeUnit.MILLISECOND)

      Expected: the entry expires after 999 millis
      Actual: the entry never expires

      HotRod lifespan is specified with second granularity but during conversion the subsecond part is truncated:

      remoteCache.put("key", "value", 1999, TimeUnit.MILLISECOND)

      Expected: after 1998 millis the entry is still present
      Actual: after 1000 millis the entry is expired

              isavin_jira Ion Savin (Inactive)
              isavin_jira Ion Savin (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: