DBCollection commitCollection = mongoConnection.getCommitCollection();
DBObject q = QueryBuilder.start(CommitMongo.KEY_REVISION_ID)
.is(MongoUtil.toMongoRepresentation(secondRevisionId)).get();
DBObject u = new BasicDBObject();
u.put("$set", new BasicDBObject(CommitMongo.KEY_FAILED, Boolean.TRUE));
commitCollection.update(q, u);
FetchNodesForRevisionQuery query = new FetchNodesForRevisionQuery(mongoConnection, new String[] { "/", "/a",
"/a/b", "/a/c", "/a/d", "/a/b/e", "not_existing" }, thirdRevisionId);
List<NodeMongo> nodeMongos = query.execute();
List<Node> actuals = NodeMongo.toNode(nodeMongos);