Hi,
I'm trying to get the tag aware sharding running. But I'm having problems with the tag ranges.
I'm running 2.2.0.
What I did so far was.
- enabled sharding on the database
- enabled sharding on the collection
- added a shard tag to the shards
If I now try to create the tag range, I get the following.
mongos> sh.addTagRange("test.test1", {'c':MinKey}, {'c':MaxKey}, "EU")
Tue Oct 2 10:40:33 uncaught exception: error: SyncClusterConnection::update upsert query needs _id
According to the documentation for sh.addTagRange() I think the command is correct.
Any hints what I am doing wrong?
Thanks
Marco