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

Explicit Locks should throw AvailabilityException during ClusterPartition instead of Timeouts

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 15.0.0.Final
    • Clustered Locks
    • None

      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.

       

              rh-ee-jbolina Jose Bolina
              rh-ee-jbolina Jose Bolina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: