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.
Thanks for spotting it, can you please open a JIRA for this.
Retrieving data ...