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

Explicit Locks should throw AvailabilityException during ClusterPartition instead of Timeouts

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • Major
    • None
    • 15.0.0.Dev01
    • Clustered Locks
    • 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
              rh-ee-jbolina Jose Bolina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: