[SERVER-2529] Balancer reports error when two shards on same machine. Created: 10/Feb/11  Updated: 12/Jul/16  Resolved: 18/Feb/11

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 1.7.5
Fix Version/s: 1.8.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: Tony Hannan Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Thu Feb 10 14:24:19 mongos db version v1.8.0-rc0-pre-, pdfile version 4.5 starting (--help for usage)
Thu Feb 10 14:24:19 git version: 6fccb3bca4619f23002ad6ab3a382fdc992a01f1
Thu Feb 10 14:24:19 sys info: Darwin dmmb.local 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_44


Participants:

 Description   

From mongos log:
[Balancer] error: 2 machines have 5593324 as oid machine piece rs1:rs1/127.0.0.1:27023 and rs0:rs0/127.0.0.1:27020

This error appears to prevent the balancer from migrating chunks. This makes it hard to test sharding on one machine.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 18/Feb/11 ]

the pid error is fixed

Comment by Tony Hannan [ 10/Feb/11 ]

Sorry, false alarm. I only had about 5 chunks, once I added more chunks it starting moving.

Comment by Eliot Horowitz (Inactive) [ 10/Feb/11 ]

How did you start up?
We test sharding on one machine all the time.

Generated at Thu Feb 08 03:00:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.