From db364b9d90deb67f8c9928d79299d68512853efb Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 22 Sep 2014 08:51:16 +0000
Subject: [PATCH] OPENDJ-1389 – Add support for replication changelog DB rotation Implemented a log based on multiple log files
---
opendj3-server-dev/src/server/org/opends/server/replication/common/CSN.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/common/CSN.java b/opendj3-server-dev/src/server/org/opends/server/replication/common/CSN.java
index 932cb1e..73f248b 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/common/CSN.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/common/CSN.java
@@ -61,6 +61,9 @@
*/
public static final int STRING_ENCODING_LENGTH = 28;
+ /** The maximum possible value for a CSN. */
+ public static final CSN MAX_CSN_VALUE = new CSN(Long.MAX_VALUE, Integer.MAX_VALUE, Short.MAX_VALUE);
+
private static final long serialVersionUID = -8802722277749190740L;
private final long timeStamp;
/**
--
Gitblit v1.10.0