From ca26d96964b33b31a16875f3390b7fd8294908e8 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

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

diff --git a/opendj-sdk/opends/src/server/org/opends/server/core/SynchronousStrategy.java b/opendj-sdk/opends/src/server/org/opends/server/core/SynchronousStrategy.java
index 90d0f8a..be1fb77 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/core/SynchronousStrategy.java
+++ b/opendj-sdk/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