From 4765dc83906e14e33a2c97c64d9367bf508a28e6 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 18 Nov 2013 15:58:34 +0000
Subject: [PATCH] ReplicationDomainDB.java, JEChangelogDB.java: In publishUpdateMsg(), added correct javadoc. In replicaHeartbeat() and replicaOffline(), changed parameter names + their javadoc.
---
opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java b/opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java
index fdc8f3e..0d5aaad 100644
--- a/opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java
+++ b/opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java
@@ -753,7 +753,7 @@
/** {@inheritDoc} */
@Override
- public void replicaHeartbeat(DN baseDN, CSN csn)
+ public void replicaHeartbeat(DN baseDN, CSN heartbeatCSN)
{
// TODO implement this when the changelogDB will be responsible for
// maintaining the medium consistency point
@@ -761,9 +761,11 @@
/** {@inheritDoc} */
@Override
- public void replicaOffline(DN baseDN, int serverId)
+ public void replicaOffline(DN baseDN, CSN offlineCSN)
{
// TODO implement this when the changelogDB will be responsible for
// maintaining the medium consistency point
+ // TODO make sure that this operation will not lose changes
+ // TODO save this state in the changelogStateDB?
}
}
--
Gitblit v1.10.0