#656 Reduce log pollution during xa recovery (xa emulation)

v1.2
closed
momo
None
5
2012-08-17
2011-10-12
No

Summary:

Without real XA support (XA emulation) when XA recovery is carried out, jTDS always
returns an empty array of XIDs. This leads to a lot of log entries
for exception XAER_NOTA. This patch avoids the log pollution during recovery.

Symptoms:

Exceptions XAER_NOTA pollute the logs each time the recovery manager
tries to recover the transaction in which jtds participated.

Problem Details:

Without real XA support (XA emulation) jTDS cannot really
participate in the transaction recovery, as it will always return
an empty array of XIDs. So the following exception will
always be thrown during recovery

raiseXAException(XAException.XAER_NOTA);

The patch avoids that.

Reproduce:

Kill the application server during the transaction in which jtds
participates. Then run transaction recovery.

Discussion

  • momo

    momo - 2012-08-17
    • status: open --> accepted
    • assigned_to: momo
    • milestone: --> v1.2
     
  • momo

    momo - 2012-08-17

    Hi Rainer,

    thank you for providing the patch. I applied your changes in revision [1132].

    Cheers,
    momo

     
  • momo

    momo - 2012-08-17
    • status: accepted --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks