openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikram Bhatia (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-230) Handle guaranteed delivery of Data Cache events on normal JVM termination using TCPRemoteCommitProvider
Date Fri, 27 Apr 2007 21:27:15 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492398
] 

Vikram Bhatia commented on OPENJPA-230:
---------------------------------------

Well I have though about it, but it fails the following scenario.

1. Four Threads running and eight Packets in queue. The four threads are busy sending packets.
3. In case, _keepRunning is set to false, four packets will still be left to synchronize as
threads exit from while loop.

> Handle guaranteed delivery of Data Cache events on normal JVM termination using TCPRemoteCommitProvider
> -------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-230
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-230
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7
>            Reporter: Vikram Bhatia
>            Priority: Minor
>         Attachments: OPENJPA-230.patch, soln.diff
>
>
> When an application is commiting a transaction and then terminating, often not all events
regarding Data Cache are dispatched by the TCPRemoteCommitProvider. It seems that the JVM
on termination is not waiting until TCPRemoteCommitProvider has dispatched all events regarding
Data Cache. In this way some cache synchronization is lost.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message