Those aren't errors, just information logging. Everything is fine.
We have an issue to reduce that logging.
https://jira.mongodb.org/browse/SERVER-7204
It is fixed and available in the next release (2.2.1 and 2.3.0).
On Mon, Oct 1, 2012 at 3:48 PM, Santiago Ezcurra <
sezc...@gmail.com> wrote:
> Hi: I've configured three replicasets (only for testing, so i have 1 node on
> each), each one of them being used as a shard:
>
> This is the shard configuration:
>
> mongos> sh.status()
> --- Sharding Status ---
> sharding version: { "_id" : 1, "version" : 3 }
> shards:
> { "_id" : "ssReplset_1", "host" :
> "ssReplset_1/
10.230.42.190:27017", "tags" : [ "WE" ] }
> { "_id" : "ssReplset_2", "host" :
> "ssReplset_2/
10.230.42.191:27017", "tags" : [ "WE" ] }
> { "_id" : "ssReplset_3", "host" :
> "ssReplset_3/
10.230.42.192:27017", "tags" : [ "EA" ] }
> databases:
> { "_id" : "test", "partitioned" : false, "primary" :
> "ssReplset_3" }
> { "_id" : "test2", "partitioned" : true, "primary" :
> "ssReplset_1" }
> test2.users chunks:
> ssReplset_1 1
> ssReplset_3 1
> { "geoTag" : { $minKey : 1 }, "id" : { $minKey : 1 }
> } -->> { "geoTag" : "ea", "id" : 1 } on : ssReplset_1 Timestamp(2000, 1)
> { "geoTag" : "ea", "id" : 1 } -->> { "geoTag" : {
> $maxKey : 1 }, "id" : { $maxKey : 1 } } on : ssReplset_3 Timestamp(2000, 0)
> tag: EA { "geoTag" : "ea", "id" : { $minKey : 1 }
> } -->> { "geoTag" : "eb", "id" : { $maxKey : 1 } }
> tag: WE { "geoTag" : "we", "id" : { $minKey : 1 }
> } -->> { "geoTag" : "wf", "id" : { $maxKey : 1 } }
> { "_id" : "securestorage", "partitioned" : false, "primary" :
> "ssReplset_2" }
> I have two shards that have to receive documents with geoTag field = "we"
> and a third shard for documents that have geoTag field = "ea"
>
> however, when i add documents to the databsae, two things happen:
> - All documents go to ssReplset_3 (supposedly to receive only documents with
> "geoTag" field = "ea" according to tag ranges)
> - The log fo rmongos keeps saying these messages:
>
> Mon Oct 1 13:47:32 [Balancer] distributed lock
> 'balancer/ubu-1204-64b-10:27018:1349108394:1804289383' unlocked
> .
> Mon Oct 1 13:47:38 [Balancer] distributed lock
> 'balancer/ubu-1204-64b-10:27018:1349108394:1804289383' acquired
> , ts : 5069c92a53b15c9d7f181ef7
> Mon Oct 1 13:47:38 [Balancer] ssReplset_1 doesn't have right tag
> Mon Oct 1 13:47:38 [Balancer] ssReplset_2 doesn't have right tag
> Mon Oct 1 13:47:38 [Balancer] distributed lock
> 'balancer/ubu-1204-64b-10:27018:1349108394:1804289383' unlocked
> .
> Mon Oct 1 13:47:44 [Balancer] distributed lock
> 'balancer/ubu-1204-64b-10:27018:1349108394:1804289383' acquired
> , ts : 5069c93053b15c9d7f181ef8
> Mon Oct 1 13:47:44 [Balancer] ssReplset_1 doesn't have right tag
> Mon Oct 1 13:47:44 [Balancer] ssReplset_2 doesn't have right tag
> Mon Oct 1 13:47:44 [Balancer] distributed lock
> 'balancer/ubu-1204-64b-10:27018:1349108394:1804289383' unlocked
> .
> Mon Oct 1 13:47:50 [Balancer] distributed lock
> 'balancer/ubu-1204-64b-10:27018:1349108394:1804289383' acquired, ts :
> 5069c93653b15c9d7f181ef9
> Mon Oct 1 13:47:50 [Balancer] ssReplset_1 doesn't have right tag
> Mon Oct 1 13:47:50 [Balancer] ssReplset_2 doesn't have right tag
> Mon Oct 1 13:47:50 [Balancer] distributed lock
> 'balancer/ubu-1204-64b-10:27018:1349108394:1804289383' unlocked.
>
> What am i doing wrong ?
>
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to
mongod...@googlegroups.com
> To unsubscribe from this group, send email to
>
mongodb-user...@googlegroups.com
> See also the IRC channel --
freenode.net#mongodb