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

Incorrect settings [timeToLiveSeconds,maxIdleTimeSeconds] when default in REST

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 5.1.0.ALPHA1
    • Remote Protocols
    • None
    • Hide

      Start a infinispan REST server
      Configure cache with <expiration lifespan="30000" maxIdle="30000" />
      POST a new entry without maxIdleTimeSeconds or timeToLiveSeconds HTTP header
      This new entry will survive all the time.

      Show
      Start a infinispan REST server Configure cache with <expiration lifespan="30000" maxIdle="30000" /> POST a new entry without maxIdleTimeSeconds or timeToLiveSeconds HTTP header This new entry will survive all the time.
    • Workaround Exists
    • Hide

      As indicated in the API documentation, you can get entries to be stored with configured expiration/lifespan settings passing 0 as parameters:
      https://docs.jboss.org/author/display/ISPN/Accessing+data+in+Infinispan+via+RESTful+interface

      Show
      As indicated in the API documentation, you can get entries to be stored with configured expiration/lifespan settings passing 0 as parameters: https://docs.jboss.org/author/display/ISPN/Accessing+data+in+Infinispan+via+RESTful+interface
    • Low

      If HTTP client didn't use
      timeToLiveSeconds or/and maxIdleTimeSeconds in all PUT/POST header request
      Cache entry will allways use -1 for timeToLiveSeconds and -1 for maxIdleTimeSeconds
      instead of current Cache settings

              rh-ee-galder Galder ZamarreƱo
              rh-gs-gautric Greg AUTRIC (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived:

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified