Commit Graph

80 Commits

Author SHA1 Message Date
Mathias Stearn
0e20be567e use LOG(x) everywhere in mongos 2011-08-08 19:52:56 -04:00
gregs
cc43fc3e4a change command api to allow command options SERVER-3405 2011-07-27 15:59:27 -04:00
Kristina
9e5a8a53d3 add auth support SERVER-921 2011-06-22 14:22:09 -04:00
gregs
57bb3d62dc get copy of shard for reset, make safe for balancer thread - SERVER-3114 2011-05-19 12:17:06 -04:00
Eliot Horowitz
3741503bec fix error message for invalid host format SERVER-2879 2011-05-04 15:55:17 -04:00
Eliot Horowitz
c780576222 fix staticShardInfo to be thread safe SERVER-2929 2011-04-11 05:50:45 -04:00
Eliot Horowitz
7792243481 formatting 2011-02-17 01:11:22 -05:00
Eliot Horowitz
c77e4c8ee9 put all replica set nods in shard map 2011-02-17 01:10:50 -05:00
Eliot Horowitz
d5927efbbd better assert 2011-02-16 14:40:25 -05:00
Eliot Horowitz
eae007bd57 spacing 2011-02-16 14:40:25 -05:00
Eliot Horowitz
3f1c76f47a cleanup replica set handling 2011-02-14 14:16:18 -05:00
Eliot Horowitz
66e90c6185 config is never a shard node 2011-02-13 10:12:28 -05:00
Eliot Horowitz
64e39098c4 writeback listener handles replica sets correctly SERVER-2540 2011-02-12 14:48:35 -05:00
Eliot Horowitz
18880d7216 cleaner shutdown error message 2011-01-21 20:32:49 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
6e02963e9c improve replica set lookup in mongos 2010-12-20 23:02:56 -05:00
Alberto Lerner
0f3b16781c SERVER-1713 balancer doesn't move to a server with writebacks pending 2010-09-22 11:58:55 -04:00
Alberto Lerner
8b24b1e719 SERVER-1545 don't switch shards if current is best (FCoJ) 2010-09-03 10:23:31 -04:00
Alberto Lerner
ee65b0cc85 SERVER-1545 when moving a chunk, we dont want to risk getting the same shard 2010-08-31 12:05:39 -04:00
Kristina Chodorow
4d200a752d use replica set name for shard id SERVER-1665 2010-08-27 12:07:22 -04:00
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