[jboss-cvs] JBossCache/src/org/jboss/cache/buddyreplication ...

Manik Surtani manik at jboss.org
Fri Mar 16 18:07:04 EDT 2007


  User: msurtani
  Date: 07/03/16 18:07:04

  Modified:    src/org/jboss/cache/buddyreplication  Tag:
                        Branch_JBossCache_1_4_0 BuddyManager.java
  Log:
  Patched problems with 1.4.1.SP3
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.33.2.11 +3 -2      JBossCache/src/org/jboss/cache/buddyreplication/BuddyManager.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BuddyManager.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/buddyreplication/BuddyManager.java,v
  retrieving revision 1.33.2.10
  retrieving revision 1.33.2.11
  diff -u -b -r1.33.2.10 -r1.33.2.11
  --- BuddyManager.java	21 Dec 2006 18:16:17 -0000	1.33.2.10
  +++ BuddyManager.java	16 Mar 2007 22:07:04 -0000	1.33.2.11
  @@ -389,7 +389,7 @@
      {
         if (log.isDebugEnabled())
         {
  -         log.debug(buddyGroup.getDataOwner() + ": received announcement that cache instance " + address + " is in buddy pool " + poolName);
  +         log.debug("BuddyManager@" + Integer.toHexString(hashCode()) + ": received announcement that cache instance " + address + " is in buddy pool " + poolName);
         }
         if (poolName != null)
         {
  @@ -479,6 +479,7 @@
   
      public static Fqn getBackupFqn(Object buddyGroupName, Fqn origFqn)
      {
  +      if (isBackupFqn(origFqn)) throw new RuntimeException("Cannot make a backup Fqn from a backup Fqn! Attempting to create a backup of " + origFqn);
         List elements = new ArrayList();
         elements.add(BUDDY_BACKUP_SUBTREE);
         elements.add(buddyGroupName);
  
  
  



More information about the jboss-cvs-commits mailing list