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

Expiration settings not applied to entries stored via CLI

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

XMLWordPrintable

      Data stored via CLI does not seem to get container expiration settings applied. E.g.

      For a server side configuration like this:

      <local-cache name="shay" start="EAGER">
        <expiration lifespan="1000" max-idle="1000"/>
      </local-cache>
      

      Storing it and retrieving it always returns the entry, no matter how long it's waited:

      [disconnected /] connect
      [standalone@localhost:9990 /] cd subsystem=infinispan/cache-container=local
      [standalone@localhost:9990 cache-container=local] cache shay
      [standalone@localhost:9990 local-cache=shay] put a a1
      [standalone@localhost:9990 local-cache=shay] get a
      a1
      ...
      [standalone@localhost:9990 local-cache=shay] get a
      a1
      

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: