From 172f9ff26c2a07363b37ea83bdaba4ac6ef70226 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 18 Mar 2011 21:00:33 +0000
Subject: [PATCH] Fix issue opendj-92: improve replication thread names

---
 opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java b/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
index 62ffbf6..306212d 100644
--- a/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
+++ b/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
@@ -435,8 +435,9 @@
   {
     protected ServerStateFlush()
     {
-      super("Replication State Saver for server id " +
-            serverId + " and domain " + baseDn.toString());
+      super("Replica DS(" + serverId
+          + ") state checkpointer for domain \"" + baseDn.toString()
+          + "\"");
     }
 
     /**
@@ -479,10 +480,14 @@
   private class RSUpdater extends DirectoryThread
   {
     private final ChangeNumber startChangeNumber;
+
+
+
     protected RSUpdater(ChangeNumber replServerMaxChangeNumber)
     {
-      super("Replication Server Updater for server id " +
-            serverId + " and domain " + baseDn.toString());
+      super("Replica DS(" + serverId
+          + ") missing change publisher for domain \""
+          + baseDn.toString() + "\"");
       this.startChangeNumber = replServerMaxChangeNumber;
     }
 

--
Gitblit v1.10.0