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

gbellato
22.00.2009 1cecbe50b7e18ecbbf431d729e892974984a22a1
refs
author gbellato <gbellato@localhost>
Wednesday, April 22, 2009 16:00 +0200
committer gbellato <gbellato@localhost>
Wednesday, April 22, 2009 16:00 +0200
commit1cecbe50b7e18ecbbf431d729e892974984a22a1
tree f29cba39f883452e0c3097981d676679f6b1139a tree | zip | gz
parent 36191b70a96c298ad07cf9a9384cc42764ea957e 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
opends/src/server/org/opends/server/replication/server/ReplicationDbEnv.java 14 ●●●● diff | view | raw | blame | history