Sorry that was the wrong branch indeed. Ales you should be fine with this one? https://github.com/Sanne/hibernate-search/tree/HSEARCH-1296
Many thanks to Dan :-) Sanne On 15 April 2013 13:44, Ales Justin <[email protected]> wrote: > 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 > [email protected] > https://lists.jboss.org/mailman/listinfo/infinispan-dev _______________________________________________ infinispan-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/infinispan-dev
