write osd dump to MongoDB.