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

Ludovic Poitou
01.59.2013 0bd15da0682c55a6f3e3da8535fc2ce891488961
refs
author Ludovic Poitou <ludovic.poitou@forgerock.com>
Tuesday, October 1, 2013 15:59 +0200
committer Ludovic Poitou <ludovic.poitou@forgerock.com>
Tuesday, October 1, 2013 15:59 +0200
commit0bd15da0682c55a6f3e3da8535fc2ce891488961
tree 7508e29846ecc1bf697b284d2b042e09418395ca tree | zip | gz
parent 8a55965faf6e9e8939bf21b0ea5c7e13afbc2433 view | diff
Fix for OPENDJ-1160 : Write operations to non-groups force groups to be reloaded.
The refreshToken was updated on each add/mod/delete regardless of the type of entry, causing intensive contention on group membership evaluation.
Changes include reduction of the critical section as well as moving the update of refreshToken only when groups are modified.
CR-2400, thanks to the nice reviewers.
1 files modified
42 ■■■■■ changed files
opends/src/server/org/opends/server/core/GroupManager.java 42 ●●●●● diff | view | raw | blame | history