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

Default AdvancedCacheLoader#publishEntries can hang with more than 2048 entries

    Details

      Description

      The default method for AdvancedCacheLoader#publishEntries relies on the invocation of the process method. This uses the PersistenceManagerCloseableSupplier to handle this. Unfortunately it uses a WithinThreadExecutor, which actually can cause the process method to deadlock with a single thread as it can fill up the queue of 2048 elements.

      We should instead use a single threaded executor which would allow the loading of elements and retrieval in parallel on 2 different threads.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                william.burns Will Burns
                Reporter:
                william.burns Will Burns
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: