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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.