geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapnil Bawaskar (JIRA)" <>
Subject [jira] [Created] (GEODE-1702) Release transaction lock before calling AsyncEventListener
Date Wed, 27 Jul 2016 05:48:20 GMT
Swapnil Bawaskar created GEODE-1702:

             Summary: Release transaction lock before calling AsyncEventListener
                 Key: GEODE-1702
             Project: Geode
          Issue Type: Bug
          Components: transactions
            Reporter: Swapnil Bawaskar

The relavent workflow of transaction commit processing is as follows:
1. Grab transaction locks
2. perform conflict checks
3. apply changes to locally
4. enqueue events in AsyncEventQueue
5. release transaction locks

However this is problematic since the AsyncEventListener could be called while the tx locks
are held. This prevents same entry from being modified in the AsyncEventListener (within a

Transaction locks cannot be released before the events are enqueued to prevent out-of-order

This message was sent by Atlassian JIRA

View raw message