From 2173fe6484daebf086de4eeed092db474758d094 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 04 Nov 2013 14:55:09 +0000
Subject: [PATCH] OPENDJ-1190 (CR-2523) Under rare circumstances the DS replication recovery thread (RSUpdater) can spin
---
opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java b/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
index 57535f3..8d8df2e 100644
--- a/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
+++ b/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
@@ -4468,7 +4468,7 @@
if (fakeOp.getCSN().isNewerThan(endCSN) // sanity check
|| !state.cover(fakeOp.getCSN())
// do not look for replay operations in the future
- || endCSN.isNewerThan(now()))
+ || currentStartCSN.isNewerThan(now()))
{
break;
}
--
Gitblit v1.10.0