[infinispan-issues] [JBoss JIRA] (ISPN-8136) ProtobufMetadataManagerInterceptor invokes commands synchronously

Dan Berindei (JIRA) issues at jboss.org
Mon Jul 31 08:55:00 EDT 2017


Dan Berindei created ISPN-8136:
----------------------------------

             Summary: ProtobufMetadataManagerInterceptor invokes commands synchronously
                 Key: ISPN-8136
                 URL: https://issues.jboss.org/browse/ISPN-8136
             Project: Infinispan
          Issue Type: Bug
          Components: Embedded Querying
    Affects Versions: 9.1.0.Final
            Reporter: Dan Berindei


{{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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list