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.
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.