From b43fb6c7a47de1c2101f10dbb4553e2a76e6eba8 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 31 Jan 2011 15:29:47 +0000
Subject: [PATCH] Issue OPENDJ-22: Abandon operations are not always removed from pending list on completion.  https://bugster.forgerock.org/jira/browse/OPENDJ-22

---
 opends/src/server/org/opends/server/core/SynchronousStrategy.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/SynchronousStrategy.java b/opends/src/server/org/opends/server/core/SynchronousStrategy.java
index 90d0f8a..be1fb77 100644
--- a/opends/src/server/org/opends/server/core/SynchronousStrategy.java
+++ b/opends/src/server/org/opends/server/core/SynchronousStrategy.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Portions Copyright 2011 ForgeRock AS
  */
 package org.opends.server.core;
 
@@ -46,5 +47,6 @@
   public void enqueueRequest(AbstractOperation operation)
     throws DirectoryException {
     operation.run();
+    operation.operationCompleted();
   }
 }

--
Gitblit v1.10.0