From 763640e8f9698113b2c001a71a718eecb60ac30c Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 03 Jul 2014 15:19:12 +0000
Subject: [PATCH] OPENDJ-1453 (CR-3938) Replica offline messages should be synced with updates

---
 opendj-sdk/opends/src/server/org/opends/server/replication/protocol/UpdateMsg.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/UpdateMsg.java b/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/UpdateMsg.java
index 04ac885..98b4111 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/UpdateMsg.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/UpdateMsg.java
@@ -294,4 +294,14 @@
   {
     return payload;
   }
+
+  /**
+   * Whether the current message can update the "ds-sync-state" attribute.
+   *
+   * @return true if current message can update the "ds-sync-state" attribute, false otherwise.
+   */
+  public boolean contributesToDomainState()
+  {
+    return true;
+  }
 }

--
Gitblit v1.10.0