> Looking at your workaround, I think you actually set the response mode to 
> GET_NONE (because that's the default value in RequestOptions), so you're back 
> to sending an asynchronous request.

That was my question as well:

> Shouldn't this "synchronous" flag still be used?
> 
> https://github.com/Sanne/hibernate-search/blob/077f29c245d2d6e960cd6ab59ff58752320d5658/hibernate-search-engine/src/main/java/org/hibernate/search/backend/impl/jgroups/DispatcherMessageSender.java#L57
> 
> e.g.
> if (synchronous) {
>               int size = 
> dispatcher.getChannel().getView().getMembers().size();
>               RequestOptions options = RequestOptions.SYNC();
>               options.setRspFilter( new WaitAllFilter( size ) );
> } else {
>       options = RequestOptions.ASYNC();
> }


_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to