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

neil_a_wilson
03.12.2007 4698e4fa18f652019b8f06fef1b2b8813446f5e0
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
commit4698e4fa18f652019b8f06fef1b2b8813446f5e0
tree ed9f999515827314c8cee4e6ab54df82fb0a2d22 tree | zip | gz
parent 943475548357fca9cb40d4522bb6fdefdb1e952c 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
opends/src/server/org/opends/server/backends/task/RecurringTask.java 23 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/Task.java 158 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/TaskBackend.java 75 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/task/TaskScheduler.java 119 ●●●●● diff | view | raw | blame | history