[ISSUE] (TEPHRA-136) TransactionContext should have a method to flush changes

2 views
Skip to first unread message

Andreas Neumann (JIRA)

unread,
Oct 7, 2015, 9:16:21 PM10/7/15
to tephr...@googlegroups.com
Andreas Neumann created an issue
 
Tephra / Improvement TEPHRA-136
TransactionContext should have a method to flush changes
Issue Type: Improvement Improvement
Affects Versions: 0.6.3
Assignee: Poorna Chandra
Components: core
Created: 07/Oct/15 6:15 PM
Fix Versions: 0.6.3
Priority: Critical Critical
Reporter: Andreas Neumann

Currently, TransactionContext has a method persist() that flushes all changes, and if anyone fails, aborts the transaction. There should be a method that simply attempts to flush all changes, but in case of failure does not abort the transaction. This is useful in transactions that span multiple processes, for example for map/reduce, where the commit and abort of the transaction is done only in a central client, but not in all of the clients.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.1.5#6160-sha1:a61a0fc)
Atlassian logo

Andreas Neumann (JIRA)

unread,
Oct 7, 2015, 9:25:21 PM10/7/15
to tephr...@googlegroups.com
Andreas Neumann commented on an issue
 
Re: TransactionContext should have a method to flush changes

It would also be useful to have a getter for the list of TransactionAwares that are in the current transaction.

Currently, TransactionContext has a method persist() that flushes all changes, and if anyone fails, aborts the transaction. There should be a method that simply attempts to flush all changes, but in case of failure does not abort the transaction. This is useful in transactions that span multiple processes, for example for map/reduce, where the commit and ...

Poorna Chandra (JIRA)

unread,
Oct 16, 2015, 4:29:28 PM10/16/15
to tephr...@googlegroups.com
Poorna Chandra updated an issue
Change By: Poorna Chandra
Fix Version/s: 0.6.4
Fix Version/s: 0.6.3

Poorna Chandra (JIRA)

unread,
Jan 12, 2016, 2:34:26 PM1/12/16
to tephr...@googlegroups.com
Poorna Chandra updated an issue
Change By: Poorna Chandra
Fix Version/s: 0.6.5
Fix Version/s: 0.6.4

Priyanka Nambiar (JIRA)

unread,
Feb 19, 2016, 4:42:36 PM2/19/16
to tephr...@googlegroups.com
Priyanka Nambiar updated an issue
Change By: Priyanka Nambiar
Fix Version/s: 0.7.1
Fix Version/s: 0.7.0
Reply all
Reply to author
Forward
0 new messages