-
1. Re: Is XA transaction ACID?
tomjenkinson Apr 6, 2016 8:51 AM (in response to ochaloup)Hi Ondra,
Thanks for the question, the resource manager should hold locks until recovery takes place (i.e. between pre-crash prepare and post-crash commit/rollback).
Hope that helps,
Tom
-
2. Re: Is XA transaction ACID?
ochaloup Apr 7, 2016 2:03 AM (in response to tomjenkinson)Ok, thanks, I see the point. My view was a bit narrow probably. I took it from way how standard DB settings works. I can do a change to DB and when it's not committed I'm able to read a state before transaction had started. That would not be possible when serializable isolation level would be used. Then even the read to the a row which is part of a non-finished transaction needs to wait. Right?
-
3. Re: Is XA transaction ACID?
mmusgrov Apr 7, 2016 5:19 AM (in response to ochaloup)1 of 1 people found this helpfulOndřej Chaloupka wrote:
Ok, thanks, I see the point. My view was a bit narrow probably. I took it from way how standard DB settings works. I can do a change to DB and when it's not committed I'm able to read a state before transaction had started. That would not be possible when serializable isolation level would be used. Then even the read to the a row which is part of a non-finished transaction needs to wait. Right?
That's right if the DBMS isolation level is Serializable but most applications do not run with this setting and the isolation level needs to be set on a per application basis. Using the other levels can mean that the application may see an inconsistent state if one of the resources has committed and made visible its changes.
-
4. Re: Is XA transaction ACID?
ochaloup Apr 8, 2016 5:19 AM (in response to mmusgrov)Thanks Mike for the clarification.