|
Re: [CDO] How can we prevent TimeoutRuntimeException for large commits [message #1851262 is a reply to message #1851227] |
Fri, 01 April 2022 04:07 |
|
As CommitTransactionRequest extends CDOClientRequestWithMonitoring the regular signal timeout is periodically reset as long as the progress monitors on both client and server are advanced periodically. Only when no progress is reported for a period longer than CDONet4jSession.Options.getCommitTimeout() the CommitTransactionRequest can fail with TimeoutRuntimeException. The default value of this timeout is 10 seconds. You can change it with CDONet4jSession.Options.setCommitTimeout(int).
Unfortunately the line numbers in your stack trace don't match the latest sources, so I can't comment on the actual operations in the server that seem to take longer. But I have the feeling it might be the "synchronized (commitTransactionLock)" in Repository.commit(). That would probably mean that another commit is spending more time in commitUnsynced().
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01829 seconds