after migrating replica set to standalone I have some weird issues with the resulting MongoDB setup. For example, an index on a collection is missing. But trying to reIndex()
the collection fails as well with this error message:
> db.members.reIndex()
{
"errmsg" : "exception: dictionary myapp.members.$channel_id_1 should exist, but we got ENOENT",
"code" : 16988,
"ok" : 0
}
The question is how to reindex a collection that misses its index :)
Many thanks in advance, Chris