Atomikos Forum |
|
When the XAResource is initialized after starting the transaction manager ACTIVE transactions from the log never get restored their XAResource and therefor can never be terminated - hanging around and stacking up forever.
I'm not really sure which one is the bug: a) that we end up having ACTIVE transaction restored from the log at XAResourceTransaction states: // This should not interfere with recovery since a recovered // instance will NOT have state ACTIVE... or b) not setting the xaresource when it's null so far I have gone with b) and the following patch https://gist.github.com/mbechler/4be88aaa3d350a91db8a |