directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r504976 - /directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
Date Thu, 08 Feb 2007 17:44:07 GMT
Author: elecharny
Date: Thu Feb  8 09:44:07 2007
New Revision: 504976

URL: http://svn.apache.org/viewvc?view=rev&rev=504976
Log:
Fixed DIRSERVER-755 : the referral cache was not initialized during 
the Init() phase. 
The partition removal wasn't removing deleted referral.
It has been fixed too.

Modified:
    directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java

Modified: directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java?view=diff&rev=504976&r1=504975&r2=504976
==============================================================================
--- directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
(original)
+++ directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
Thu Feb  8 09:44:07 2007
@@ -877,6 +877,9 @@
             {
                 referral = result;
             }
+
+            // Now, add the referral to the cache
+            lut.referralAdded( result );
         }
     }
 
@@ -899,6 +902,9 @@
             {
                 referral = result;
             }
+
+            // Now, remove the referral from the cache
+            lut.referralDeleted( result );
         }
     }
 



Mime
View raw message