From 5154f34503981b2f96755b1b6da9b425bb20ca7f Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Thu, 05 Nov 2026 14:32:12 +0000
Subject: [PATCH] [#1269] Preserve replay order across duplicate replication deliveries (#1270)
---
opendj-server-legacy/src/main/java/org/opends/server/replication/service/ReplicationDomain.java | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/replication/service/ReplicationDomain.java b/opendj-server-legacy/src/main/java/org/opends/server/replication/service/ReplicationDomain.java
index f5fef33..fd04a25 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/replication/service/ReplicationDomain.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/replication/service/ReplicationDomain.java
@@ -3599,6 +3599,12 @@
return tmp == null || tmp.isShutdownInitiated();
}
+ /** Returns whether the calling thread is still the registered listener for this session. */
+ protected final boolean isCurrentListenerThread()
+ {
+ return Thread.currentThread() == listenerThread;
+ }
+
/**
* Returns the generation of the session of this domain: bumped by
* {@link #disableService()} and {@link #enableService()} under
--
Gitblit v1.10.0