Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-14088

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 2.10
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: