|
If you get this exception somewhere, you need to update the index of the database the exception occurred for.
Execute the following script to open the mongo shell:
$MemoryX_DIR/build/bin/mongo.sh
Then insert the following lines in the shell, where you replace the dbname with the name of your DB:
use dbname db.fs.chunks.dropIndexes() db.fs.chunks.ensureIndex({files_id:1,n:1},{unique:true}) db.fs.chunks.getIndexes()