From 66f48672bc7953e77364a9a7ae41f1e70d83534f Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 18 Sep 2008 06:40:07 +0000
Subject: [PATCH] Fix for issue 3477 : OpenDS runs out of synchronization or crashes

---
 opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java b/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java
index aede5ee..9dac7f6 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java
@@ -360,4 +360,15 @@
     }
   }
 
+  /**
+   * {@inheritDoc}
+   */
+  @Override
+  public int size()
+  {
+    // The MODDN message size are mainly dependent on the
+    // size of the DN. let's assume that they average on 100 bytes
+    return 100;
+  }
+
 }

--
Gitblit v1.10.0