Locking on cache keys needs to check if the lock was actually aquired

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • None
    • Affects Version/s: 2.10
    • Component/s: None

      In com.atlassian.confluence.cache.tangosol.hibernate.CoherenceHibernateCache.lock(Object) we don't check if the lock could actually be aquired. Instead we should provide a timeout argument to com.tangosol.util.ConcurrentMap.lock(Object, long) and check if the lock could be aquired within the given timeout. If the lock couldn't be aquired we need to throw an exception.

              Assignee:
              Unassigned
              Reporter:
              Chris Kiehl
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: