Commit Graph

69 Commits

Author SHA1 Message Date
Eliot Horowitz
453398b8b2 distlock pings, get rid of ourHostname 2010-07-13 00:56:08 -04:00
Eliot Horowitz
92e8ad86fa finish first cut at migrate in mognod and lots of fixes SERVER-933 2010-07-02 00:51:41 -04:00
Eliot Horowitz
9974be8ab1 Merge branch 'master' of github.com:mongodb/mongo 2010-07-01 17:44:55 -04:00
Eliot Horowitz
2498228f41 workong on moving migrate to mongod, cleaning, and version fixing
SERVER-1319 SERVER-933
2010-07-01 17:44:13 -04:00
Alberto Lerner
3fd0f2e9a7 SERVER-1185 Sharding a non-empty collection requires an existing index 2010-07-01 12:25:50 -04:00
Alberto Lerner
105ab908e4 SERVER-1185 A bit of prep-ing before the actual changes 2010-06-30 20:23:38 -04:00
Alberto Lerner
2924ae974f Database names are in the _id field, in fact 2010-06-30 14:23:08 -04:00
Alberto Lerner
7486196522 SERVER-940 Remove 'for testing only' safeguard 2010-06-30 13:57:05 -04:00
Eliot Horowitz
e6368b8beb nicer chunk versions 2010-06-30 00:03:10 -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
8095bde291 SERVER-940 Allow programmatic access to return message content 2010-06-29 09:58:20 -04:00
Alberto Lerner
fa7e909e5e SERVER-940 Adding documentation 2010-06-28 10:41:29 -04:00
Alberto Lerner
3ea919026f SERVER-940 'removeshard' command handling 2010-06-25 09:11:56 -07: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
Eliot Horowitz
0b6784ca44 some const stuff 2010-06-15 11:38:11 -04:00
Eliot Horowitz
8c4533a035 add "n" to getLastError sharded SERVER-1204 2010-06-08 17:15:24 -04:00
Eliot Horowitz
49535d34bf make getLastError smarter in a sharded environment 2010-06-02 12:30:08 -04:00
Mathias Stearn
743d21d752 Use shared_ptr for DBConfig 2010-05-28 17:24:03 -04:00
Eliot Horowitz
ffd977a64c don't leak ChunkManager use - shared_ptr 2010-05-26 12:40:46 -04:00
Eliot Horowitz
4bdbf1fc67 use shared_ptr for Chunk references
handle splits on another server during splits SERVER-1109
2010-05-24 17:24:41 -04:00
Dwight Merriman
608ef69bc4 quieter on test run 2010-05-23 15:07:32 -04:00
Eliot Horowitz
ecec906288 fix connection pooling a bit 2010-05-20 13:36:29 -04:00
Eliot Horowitz
a48c830de9 Command::run gets "test" not "test.$cmd" 2010-05-03 16:25:34 -04:00
Eliot Horowitz
d1082cf676 some refactoring for SERVER-946 2010-05-03 11:18:27 -04:00
Eliot Horowitz
aeabb978d4 chunk migration cleaning 2010-04-29 12:35:36 -04:00
Eliot Horowitz
e0d8e8541d really fix getLastError in mongos SERVER-1039 2010-04-28 15:39:52 -04:00
Eliot Horowitz
00c1bff5c1 listDatabases works sharded SERVER-1019 2010-04-28 14:36:41 -04:00
Eliot Horowitz
92b48ea825 whatsmyuri support for mongos 2010-04-27 16:49:22 -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
Dwight
bd8a3e9527 more /_commands 2010-04-23 16:41:56 -04:00
Dwight
837fd2cd86 /_commands in the http interface 2010-04-23 15:50:49 -04:00
Eliot Horowitz
48fdb9c151 can't add the same shard/host multiple times SERVER-1043 2010-04-22 17:18:18 -04:00
Eliot Horowitz
c6643c12f6 getLAstError works on mongos assert SERVER-1039 2010-04-21 22:32:26 -04:00
Eliot Horowitz
12dbcd8959 shard _id is name 2010-04-21 14:37:58 -04:00
Eliot Horowitz
517d8f0277 more serverStatus fields for mongos SERVER-942 2010-04-20 15:05:48 -04:00
Eliot Horowitz
55e8b26481 basic serverStatus for mongos SERVER-942 2010-04-20 12:58:04 -04:00
Eliot Horowitz
8afdf52bad Shard abstraction 2010-04-19 16:55:16 -04:00
Eliot Horowitz
d72a7fcfca sharding: allow unique indexes if key is more specific than shard key SERVER-917 2010-04-15 10:59:13 -04:00
Kristina Chodorow
a6c0d8735d fixed help text MINOR 2010-03-25 14:01:48 -04:00
Eliot Horowitz
a347ce9b85 change Command locking config 2010-02-26 14:38:51 -05:00
Eliot Horowitz
1ed6940015 make addshard less strict SHARDING-75 2010-01-26 13:49:55 -05:00
Eliot Horowitz
a74353b6f1 debugging 2009-12-10 10:46:41 -05:00
Mathias Stearn
28141877ee Remove ill-planned nested/dotted split. Keep everything dotted. 2009-12-09 18:57:19 -05:00
Eliot Horowitz
49b59721c4 add "ok" to commands result 2009-12-01 16:25:12 -05:00
Mathias Stearn
09bd20c7a6 fail early with compound shard keys 2009-11-24 23:09:44 -05:00
Eliot Horowitz
a46dbe3dae getShardVersion in mongos - diagnostic tools 2009-11-24 15:24:41 -05:00
Eliot Horowitz
6e4f858c43 use CmdLine::ports for shard and config servers
get rid of --infer
some config server refactoring in prep for n phase commit for config server changes
2009-11-08 11:41:19 -05:00
Mathias Stearn
901abe74eb cleanup 2009-11-05 16:59:48 -05:00
Mathias Stearn
9fcf4ba1ef Support embedded fields for shard keys. SHARDING-48
Needs more testing.
2009-11-04 15:06:36 -05:00