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

neil_a_wilson
03.12.2007 c50c2de771f32a0fb4bd530da59d64ad7ad0af4e
refs
author neil_a_wilson <neil_a_wilson@localhost>
Wednesday, January 3, 2007 17:12 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Wednesday, January 3, 2007 17:12 +0100
commitc50c2de771f32a0fb4bd530da59d64ad7ad0af4e
tree 7120054a805641eb076a3beb41ef0230e5def97e tree | zip | gz
parent ccc4639f2b51141be22b4cc8ff7e142e249504e4 view | diff
Update the task backend to properly acquire read locks on task and recurring
task entries when evaluating them during search operations, and to acquire
write locks for the entries when they are being updated. This should eliminate
the possibility of concurrent modification exceptions being thrown in cases
where a client issues a search for a task entry at the same time the task entry
is being updated within the server.

OpenDS Issue Number: 858
4 files modified
375 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/task/RecurringTask.java 23 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/task/Task.java 158 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskBackend.java 75 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskScheduler.java 119 ●●●●● diff | view | raw | blame | history