mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
22.00.2009 14ebc6270723f1ab3bc70583b0f3a4bd03120247
refs
author gbellato <gbellato@localhost>
Wednesday, April 22, 2009 16:00 +0200
committer gbellato <gbellato@localhost>
Wednesday, April 22, 2009 16:00 +0200
commit14ebc6270723f1ab3bc70583b0f3a4bd03120247
tree 7958b59794ae374e13cf275ebde9d8810355db26 tree | zip | gz
parent 2d7788a781b8a7ce58b7ec9f8a7a1ae9418ee28b view | diff
Fix for 2977 : exception during the Replication Server database trimming

The database appears to throw deadlock exception during the trimming process.
Since the updates to the replication log are only of two types :
- add of record at the tail of the log
- delete of record at the head of the log
It does not seem possible to have real deadlock, therefore this exception is
probably thrown because the current value of the TXN timeout (500 msec) is
too short.

The fix is therefore simply to Increase this value to 10 seconds.

This should not have any performance impact.
1 files modified
14 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationDbEnv.java 14 ●●●● diff | view | raw | blame | history