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

Relax Cache.clear() semantics

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Core, Loaders and Stores
    • None

    Description

      Clear should be non-transactional, independent of the cache configuration. This is because a transactional clear would, if implemented strictly, required all cache keys to be locked, which could lead to global deadlocks, particularly in distributed caches.

      Also, making cache clear cache contents eventually, not immediately would simplify AsyncStore implementation by relaxing the point at which clear happens. As an extension of this, it would simplify development of coalescing logic in other parts of Infinispan

      Attachments

        Issue Links

          Activity

            People

              gzamarre Galder ZamarreƱo
              gzamarre Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: