]
Gustavo Fernandes updated ISPN-4694:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Apply ASYNC backend indexing options to the RemoteIndexingBackend
-----------------------------------------------------------------
Key: ISPN-4694
URL:
https://issues.jboss.org/browse/ISPN-4694
Project: Infinispan
Issue Type: Feature Request
Components: Embedded Querying
Reporter: Sanne Grinovero
Assignee: Gustavo Fernandes
Fix For: 7.0.0.Beta2, 7.0.0.Final
The {{RemoteIndexingBackend}} in Infinispan Query generates synchronous RPCs.
There is an option in Hibernate Search to enable the "async" worker, which
decouples the indexing queue processing from the invoker by using a separate executor.
If this option is enabled, we should transparently apply it to the
{{RemoteIndexingBackend}} too by making RPCs non blocking as well.
{code}rpcManager.getDefaultRpcOptions(sync){code}