[SERVER-909] multiple mongos start race condition (WAS: mongos start failed) Created: 13/Jan/10 Updated: 12/Jul/16 Resolved: 08/Feb/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.5 |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | sunquanjun | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS release 5.2 (Final) |
||
| Participants: |
| Description |
|
config: note: next day: failed info: called after throwing an instance of 'mongo::UserException' |
| Comments |
| Comment by auto [ 08/Feb/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: fix race condition when starting multiple mongos |
| Comment by sunquanjun [ 13/Jan/10 ] |
|
ps ax|grep mongo|awk ' {print "kill -9 "$1}'|sh mkdir -p /data1/mongdb/sharding1-20011/ mkdir -p /data1/mongdb/configure1/ mkdir -p /data1/mongdb/route1/ #start sharding: /usr/home/quanjun/soft/mongo-1.2.1/mongod --diaglog 7 --shardsvr --master --slave --smallfiles --noauth --nohttpinterface --source mongodb.store.sina.com.cn:20022 --dbpath=/data1/mongdb/sharding2-20021/ --logpath=/data1/mongdb/sharding2-20021/log --port=20021 --bind_ip=10.210.141.204& /usr/home/quanjun/soft/mongo-1.2.1/mongod --diaglog 7 --shardsvr --master --slave --smallfiles --noauth --nohttpinterface --source mongodb.store.sina.com.cn:20032 --dbpath=/data1/mongdb/sharding3-20031/ --logpath=/data1/mongdb/sharding3-20031/log --port=20031 --bind_ip=10.210.141.204& #start configure: sleep 900 |