directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1629843 - /directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java
Date Tue, 07 Oct 2014 09:46:41 GMT
Author: kayyagari
Date: Tue Oct  7 09:46:41 2014
New Revision: 1629843

URL: http://svn.apache.org/r1629843
Log:
using a shorter BTree name as a possible for DIRSERVER-2007

Modified:
    directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java

Modified: directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java?rev=1629843&r1=1629842&r2=1629843&view=diff
==============================================================================
--- directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java
(original)
+++ directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultCoreSession.java
Tue Oct  7 09:46:41 2014
@@ -1333,12 +1333,12 @@ public class DefaultCoreSession implemen
         SortedEntrySerializer keySerializer = new SortedEntrySerializer( comparator );
 
         PersistedBTreeConfiguration<Entry, String> config = new PersistedBTreeConfiguration<Entry,
String>();
-        config.setName( UUID.randomUUID().toString() );
+        config.setName( "replica" ); // see DIRSERVER-2007
         config.setKeySerializer( keySerializer );
         config.setValueSerializer( StringSerializer.INSTANCE );
 
         BTree<Entry, String> btree = BTreeFactory.createPersistedBTree( config );
-
+        
         File file = File.createTempFile( btree.getName(), ".sorted-data" );
         RecordManager recMan = new RecordManager( file.getAbsolutePath() );
 



Mime
View raw message