jaraco / jaraco.mongodb

MongoDB Utilities including an oplog replay tool
MIT License
5 stars 2 forks source link

GridFS indexes not created #12

Closed jaraco closed 6 years ago

jaraco commented 7 years ago

According to the docs, with PyMongo 3.1, GridFS will only create the indexes on a first write. This behavior is specified by design. Therefore, routines like move-gridfs won't work on empty destinations. The routine should account for this and ensure the default indexes are created.