From d0deb0709fc73a94d3d46ac76753933383861b00 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Thu, 10 Sep 2026 11:56:42 +0000
Subject: [PATCH] [#901] Make the replay retry budget of a replication domain configurable (#944)
---
opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/DomainFakeCfg.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/DomainFakeCfg.java b/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/DomainFakeCfg.java
index 43299a2..43993fc 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/DomainFakeCfg.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/DomainFakeCfg.java
@@ -13,6 +13,7 @@
*
* Copyright 2007-2010 Sun Microsystems, Inc.
* Portions Copyright 2011-2016 ForgeRock AS.
+ * Portions Copyright 2026 3A Systems, LLC.
*/
package org.opends.server.replication.plugin;
@@ -251,6 +252,20 @@
return assuredType;
}
+ /**
+ * Returns how long the replay of a change is retried before the domain gives up on it.
+ * <p>
+ * The default the property was given, spelled out here like the other values of this
+ * fake configuration: no test varies the budget on a domain built from one.
+ *
+ * @return the budget in milliseconds
+ */
+ @Override
+ public long getReplayGiveUpDelay()
+ {
+ return 300000;
+ }
+
@Override
public SortedSet<String> getReferralsUrl()
{
--
Gitblit v1.10.0