Re: [infinispan-dev] Transactional consistency of query

2017-07-28 Thread Radim Vansa
On 07/28/2017 02:59 PM, Adrian Nistor wrote: > My feeling regarding this was to accept such inconsistencies, but > maybe I'm wrong. I've always regarded indexing as being async in > general, even though it did behave as if being sync in some not so > rare circumstances, which probably made

Re: [infinispan-dev] Transactional consistency of query

2017-07-28 Thread Adrian Nistor
My feeling regarding this was to accept such inconsistencies, but maybe I'm wrong. I've always regarded indexing as being async in general, even though it did behave as if being sync in some not so rare circumstances, which probably made people believe it is expected to be sync in general. I'm

[infinispan-dev] Transactional consistency of query

2017-07-28 Thread Radim Vansa
Hi, while working on ISPN-7806 I am wondering how should queries work with transactions. Right now it seems that updates to index are done during either regular command execution (on originator [A]) or prepare command on remote nodes [B]. Both of these cause rolled-back transactions to be