[infinispan-dev] [hibernate-dev] HSEARCH-1296

Sanne Grinovero sanne at infinispan.org
Mon Apr 15 13:33:50 EDT 2013


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 <ales.justin at gmail.com> 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
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


More information about the infinispan-dev mailing list