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

boli
24.06.2007 fbabc64c7ccff868c280c28d4de74f06db175437
refs
author boli <boli@localhost>
Friday, August 24, 2007 01:06 +0200
committer boli <boli@localhost>
Friday, August 24, 2007 01:06 +0200
commitfbabc64c7ccff868c280c28d4de74f06db175437
tree 6bf888a1fb31deba4276061a9cb6aeccd991c30f tree | zip | gz
parent 75a3e1d2dabe3493d80204e005685275acc0e769 view | diff
Fix a issue where adding entries below a parent entry and modifying the parent entry causes lock expirations. All writer threads for the modify 
operations were being starved by the reader threads for the add operations. Changed the LockManager to observe fairness rules when granting
locks so waiting write locks are granted before read locks.

Fix for issue 1896
1 files modified
29 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/types/LockManager.java 29 ●●●● diff | view | raw | blame | history