How to remove "ISPN006011: Operation 'REMOVE' forced to return previous value should be used on transactional caches" warning messages from logs

Solution Unverified - Updated -

Environment

  • Red Hat JBoss Data Grid (JDG)
    • 7.1

Issue

  • Below warning messages are observed frequently in logs while running JDG in Remote Client-Server Mode.
ISPN006011: Operation 'REMOVE' forced to return previous value should be used on transactional caches

Resolution

  • To remove these messages from logs, enable transactions on the JDG cache on the server side in your configuration.

  • Change the transaction mode to NON_XA in your cache :

<cache>
    <transaction mode="NON_XA" />
</cache>

Root Cause

  • For each cache that uses operations which require the cache data to be always consistent across the cluster (such as conditional operations)
    then the transaction mode should be changed from NONE to NON_XA.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

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