I'm getting "write $cmd not supported" when trying to drop a collection.
We've got a replica set with 3 boxes. I open a shell connection like this:
mongo host1,host2,host3/?replicaSet=fooset
All is good and I'm in the mongo shell like this:
fooset:PRIMARY>
However, when I try to drop a collection that I've been using as temporary storage, I get this:
fooset:PRIMARY> db.tmpOut.drop();
Mon Oct 1 12:37:07 Error: write $cmd not supported in SyncClusterConnection::query for:drop src/mongo/shell/collection.js:155