I should also mention that there are other, more strange results coming out of this, than the example given above.
On Wed, Dec 16, 2015 at 10:05 AM, Niclas Hedhman <[email protected]> wrote: > Gang, > > After I have changed the UnitOfWork(Factory) to be customizable, something > rather bizarre has surfaced. A bunch of query tests are now failing. > > Example; org.apache.zest.test.indexing.AbstractQueryTest#script17 > > The expected result is > > "Gaming", "Jack Doe" > > but if I change the tests and remove the first() and max() the full set is > > [Ann Doe, Cars, Cooking, Felix, Gaming, Jack Doe, Joe Doe, Kuala Lumpur, > Penang, Programming] > > And the first(3) and max(2) should indeed return "Felix" and "Gaming" as > it does now, and didn't do before. > > Anybody care to comment of what is happening? Is it eventual consistency > (I thought that indexing was inlined and not eventual, at the moment) and > the new UoW is enough slower for the values to "arrive"? > > > Cheers > -- > Niclas Hedhman, Software Developer > http://zest.apache.org - New Energy for Java > -- Niclas Hedhman, Software Developer http://zest.apache.org - New Energy for Java
