From 7e6c6657bced35f4a3aba723c2add20923450ad6 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 01 Feb 2008 09:40:56 +0000
Subject: [PATCH] The Replication Server thread that is reading changes from the database to propagate them to the Directory Servers was sometimes leaving some Database cursors open.
---
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java b/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
index 4d9cf4c..89726d4 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
@@ -572,6 +572,9 @@
/**
* Creates and returns an iterator.
+ * When the iterator is not used anymore, the caller MUST call the
+ * ReplicationIterator.releaseCursor() method to free the ressources
+ * and locks used by the ReplicationIterator.
*
* @param serverId Identifier of the server for which the iterator is created.
* @param changeNumber Starting point for the iterator.
--
Gitblit v1.10.0