limeuser / appengine-ndb-experiment

Automatically exported from code.google.com/p/appengine-ndb-experiment
Other
0 stars 0 forks source link

Transaction exception is lost if rollback fails #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Invoke a transaction callback that raises an exception, which will cause a 
rollback before the exception is re-raised in ndb.Context.transaction.  If 
tconn.async_rollback fails (which is difficult to do on demand but happens 
every so often) the original exception is swallowed.

What is the expected output? What do you see instead?

I'd like to either see both exceptions re-raised as as JointException (as done 
in taskqueue, for example), or at least see the lost exception logged.  Losing 
all trace of the original exception makes debugging difficult.

What version of the product are you using? On what operating system?
1.7.4 on OS X

Original issue reported on code.google.com by pi...@knowlabs.com on 9 Jan 2013 at 10:45

GoogleCodeExporter commented 9 years ago

Original comment by arful...@google.com on 12 Jun 2013 at 11:46

GoogleCodeExporter commented 9 years ago
Will be released in 1.8.3

Original comment by arful...@google.com on 25 Jun 2013 at 7:18