river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Korland" <...@gigaspaces.com>
Subject Mahalo endless loop on prepareAndCommit
Date Mon, 19 May 2008 13:45:05 GMT
Hi,

 

We found out that TransactionManager.commit(long timeout) might stack
forever even if we set a timeout.

 

It seems like the following code on TxnManagerTransaction is the source
of it (line 680):

 

  if ((job instanceof PrepareJob) ||

 

                      (job instanceof PrepareAndCommitJob)) {

 

                        try {

 

 Line 680:                                              if

(job.isCompleted(Long.MAX_VALUE)) {

 

                                    result = (Integer)
job.computeResult();

 

 

Do you have any suggestions?

 

Thanks,

Guy

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message