Atomikos Forum

Is the 2nd Phase of XA two phase commit blocking

When the 1st phase is completed with every entity agreeing that they can commit.

Is the second phase a blocking call?

I.e. will Atomikos block waiting for the 2nd phase to finish or will it return immediately to my code and let the code continue on its merry way.

The behaviour I am seeing is that it does not block as I am then trying to read something from the database and it is not committed.

So I am assume that the final commit has not been done when the second block of code is reached.

Thanks in advance.
James Black Send private email
Thursday, June 02, 2011
 
 
Hi,

Commit is blocking - it will return with success or an error.

HTH
Guy Pardon Send private email
Friday, June 03, 2011
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics