1 Reply Latest reply on Dec 17, 2015 3:16 AM by Horia Chiorean

    Issue in MongodbBinaryStore.java

    Jessie Xie Newbie

      Hi Guys,


      I found an issue when using org.modeshape.jcr.value.binary.MongodbBinaryStore.java in 4.5.0 to store binary data in mongodb.


      When saving several files concurrently, the file data will be corrupted, if db.requestStart()/db.requestDone() are not called before/after inserting data.


      Though these two methods are said to be deprecated and abandoned in mongo-java-driver 3.x, seems they are necessary for mongo-java-driver 2.13.x.