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

ProtobufMetadataManagerInterceptor invokes commands synchronously

    XMLWordPrintable

Details

    Description

      ProtobufMetadataManagerInterceptor uses AsyncInterceptorChain.invoke() to invoke lock/put/remove commands. invoke() is synchronous and it will block the thread, so the interceptor should use AsyncInterceptorChain.invokeAsync() instead.

      Note that the commands are only invoked only on the originator, so the blocked threads will be from the server's worker thread pool, not from the remote or JGroups thread pools.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: