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

Explicit Locks should throw AvailabilityException during ClusterPartition instead of Timeouts

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 15.0.0.Dev01
    • 11.0.5.Final, 12.0.0.Dev06
    • Clustered Locks, Core
    • None

    Description

      It seems that locks explicitly set by the application with lock(key) are not considered in case of active partition handling (the cache is in DEGRADED mode).

      In that case it will be still a timeout to aquire the lock, but it would be preferable to throw an AvailabilityException immediately instead of a TimeoutException after 30 seconds.

      The AvailabilityExcetpion is (only) thrown in case of put or get requests.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-jbolina Jose Bolina
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: