Is it possible to use a cache in ASYNC mode and enable transactions

Solution Verified - Updated -

Issue

  • A cache configuration like below will cause issues for queries after update to 7.2.2, it seems that the index is not updated in all nodes. With 7.2.1 it worked as expected.
<replicated-cache name="pokemon" mode="ASYNC">
    <indexing index="ALL">
        <property name="default.directory_provider">ram</property>
        <property name="default.indexmanager">near-real-time</property>
        <property name="default.default.worker.execution">async</property>
    </indexing>
    <locking acquire-timeout="30000" concurrency-level="1000" striping="true"></locking>
    <transaction mode="NON_XA"></transaction>
</replicated-cache>

Environment

  • Red Hat Data Grid (RHDG)
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content