jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1299244 - /jackrabbit/sandbox/jackrabbit-mongo-persistence/src/main/java/org/apache/jackrabbit/core/data/mongo/MongoDataStore.java
Date Sat, 10 Mar 2012 17:57:54 GMT
Author: stefan
Date: Sat Mar 10 17:57:54 2012
New Revision: 1299244

URL: http://svn.apache.org/viewvc?rev=1299244&view=rev
Log:
experimental mongo-based pm & ds

allow for db per pm

Modified:
    jackrabbit/sandbox/jackrabbit-mongo-persistence/src/main/java/org/apache/jackrabbit/core/data/mongo/MongoDataStore.java

Modified: jackrabbit/sandbox/jackrabbit-mongo-persistence/src/main/java/org/apache/jackrabbit/core/data/mongo/MongoDataStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mongo-persistence/src/main/java/org/apache/jackrabbit/core/data/mongo/MongoDataStore.java?rev=1299244&r1=1299243&r2=1299244&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mongo-persistence/src/main/java/org/apache/jackrabbit/core/data/mongo/MongoDataStore.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mongo-persistence/src/main/java/org/apache/jackrabbit/core/data/mongo/MongoDataStore.java
Sat Mar 10 17:57:54 2012
@@ -192,7 +192,7 @@ public class MongoDataStore implements D
             throw new RepositoryException("failed to initialize MongoDataStore", e);
         }
 
-        db = con.getDB("rep");
+        db = con.getDB("datastore");
         db.setWriteConcern(WriteConcern.SAFE);
 
         fs = new GridFS(db);



Mime
View raw message