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

Lifespan/MaxIdle = 0 from Hot Rod behaviour is inconsistent with embedded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 9.4.0.CR3
    • None
    • None

      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".

            ttarrant@redhat.com Tristan Tarrant
            ttarrant@redhat.com Tristan Tarrant
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: