Commit Graph

60 Commits

Author SHA1 Message Date
Eliot Horowitz
c1a0ce0228 check all shard connections at once so we don't get cascading failure SERVER-1560 2010-08-03 18:12:04 -04:00
Dwight
08eaec0599 check for null return from query() 2010-08-02 14:44:53 -04:00
Eliot Horowitz
380cdd5bf2 handle databases with different cases in mongos SERVER-1443 2010-07-22 15:39:20 -04:00
Eliot Horowitz
852eb9b1fa set Stale shard data on late errors 2010-07-22 14:20:29 -04:00
Alberto Lerner
6788a18111 [SERVER-940] Clean state after shard removal 3/3 (refresh state on error) 2010-06-29 14:28:48 -04:00
Alberto Lerner
6d77e8f62e [SERVER-940] Clean state after shard removal 2/3 (kills WriteBackListener to removed shard) 2010-06-29 14:23:55 -04:00
Alberto Lerner
20d5b887dc [SERVER-940] Clean state after shard removal 1/3 (updates local ShardInfo) 2010-06-29 14:17:42 -04:00
Alberto Lerner
30b1524a77 SERVER-940 Balancer now drains chunks off a shard that's being removed 2010-06-23 19:25:03 -07:00
Alberto Lerner
19a0eca57a SERVER-940 A shard can be on a 'draining' state 2010-06-15 13:32:53 -04:00
Alberto Lerner
9f22a44e05 SERVER-950 addshard's maxSize option is in effect (carefull, no way to undo it yet). 2010-06-07 15:15:06 -04:00
Alberto Lerner
258ac46f3a SERVER-950 if there's a maximum size for the shard, pick it up 2010-06-04 11:34:44 -04:00
Dwight Merriman
a190583c51 MutexDebugger 2010-05-26 00:46:49 -04:00
Eliot Horowitz
ecec906288 fix connection pooling a bit 2010-05-20 13:36:29 -04:00
Eliot Horowitz
29130d0c12 make client -> mongod connection static SERVER-956 2010-05-19 17:01:09 -04:00
Eliot Horowitz
e57c74e843 somewhat smarter initial shard selection 2010-05-03 11:43:12 -04:00
Eliot Horowitz
d1082cf676 some refactoring for SERVER-946 2010-05-03 11:18:27 -04:00
Eliot Horowitz
b5818a204d don't want to balance to config 2010-04-28 20:56:40 -04:00
Eliot Horowitz
00c1bff5c1 listDatabases works sharded SERVER-1019 2010-04-28 14:36:41 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
a19e992925 use Shard class instead of string for passing around Shards 2010-04-27 12:32:59 -04:00
Eliot Horowitz
75e16447a4 starting sharding name cleanup SHARDING-25 2009-08-31 16:31:50 -04:00
Eliot Horowitz
bc7eeba54e better error message MINOR 2009-08-29 23:49:53 -04:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Eliot Horowitz
676fb4ea3c Sharding: fix countObjects, some docs MINOR 2009-04-22 15:56:23 -04:00
Eliot Horowitz
71727701e5 Sharding: move empty shards on a split 2009-04-20 17:42:01 -04:00
Eliot Horowitz
f9a42555bb Sharding: auto splitting working nicely 2009-04-16 10:19:52 -04:00
Eliot Horowitz
016013f756 cleaning split() 2009-04-15 22:36:33 -04:00
Eliot Horowitz
d7b7217349 Shard::getPhysicalSize() 2009-04-15 22:26:19 -04:00
Eliot Horowitz
c30e80145e Sharding: moveshard now is mulit-mongos safe 2009-04-06 16:31:09 -04:00
Eliot Horowitz
7b8881ffab refactor locking 2009-04-03 14:21:00 -04:00
Eliot Horowitz
5d81abc690 cleaning moveshard 2009-04-03 13:52:06 -04:00
Eliot Horowitz
1f2bab33e8 fix BSONObj ownership 2009-04-02 15:43:53 -04:00
Eliot Horowitz
fac9fcc1a1 smarter about how to split a shard
if one side is either MIN or MAX, takes all the data and puts in one
   otherwise splits on the median value
2009-03-30 17:13:55 -04:00
Eliot Horowitz
160d0b7201 cleaning split 2009-03-30 14:33:40 -04:00
Eliot Horowitz
22cd9cc2e5 better checkShardVersion 2009-03-30 10:50:10 -04:00
Eliot Horowitz
7af502f1c6 sharding w version numbers checkpoint 2009-03-27 16:55:26 -04:00
Eliot Horowitz
26ad67b9c7 shard versioning checkpoint 2009-03-25 17:35:38 -04:00
Eliot Horowitz
74ab32161e lastmod for shards, using timestamp stuff 2009-03-09 16:06:19 -04:00
Eliot Horowitz
cedd4f0008 better debugging 2009-02-27 14:23:52 -05:00
Eliot Horowitz
a9b57c9d59 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-27 12:52:04 -05:00
Eliot Horowitz
dfe0cff308 lastmod 2009-02-27 12:51:49 -05:00
Dwight
ad725ff5c2 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-27 11:05:04 -05:00
Eliot Horowitz
0dc0ff0541 make unserialze take a const BSONObj& 2009-02-27 10:37:13 -05:00
Dwight
7225f8d37b Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	s/shard.cpp
	s/shardkey.cpp
	s/shardkey.h
2009-02-26 12:08:25 -05:00
Dwight
27b8b36c99 shardkey partial 2009-02-26 12:02:43 -05:00
Eliot Horowitz
47d36c761e sharding schema change, some object re-org 2009-02-26 12:01:24 -05:00
Dwight
3111e5411e BSONObjBuilderValueStream bug fix 2009-02-23 18:05:38 -05:00
Eliot Horowitz
00eb714709 sharding query work - works of only need 1 server 2009-02-21 23:39:41 -05:00
Eliot Horowitz
c97ed5184b moveshard 2009-02-20 13:46:57 -05:00