Commit Graph

47 Commits

Author SHA1 Message Date
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
Eliot Horowitz
c628c7b93f don't allow shards on localhost unless allowLocal : true SHARDING-47 2009-10-12 13:27:04 -04:00
Eliot Horowitz
9780f3092b make addshard take maxSize argument - though doesn't do anything yet SHARDING-21 2009-09-18 01:26:09 -04:00
Eliot Horowitz
78bfd73520 writeback fix and making sure all connection pools are cleaned up 2009-09-14 14:32:24 -04:00
Eliot Horowitz
3b5b0caee9 getLastError sharded SHARDING-16 2009-09-14 11:33:42 -04:00
Eliot Horowitz
335d92c443 client id work and make getLastError work non sharded-collections in sharding, but with connection pooling SHARDING-16 2009-09-11 16:14:14 -04:00
Eliot Horowitz
6adeb37012 don't allow sharding + capped SHARDING-23 2009-09-03 17:19:32 -04:00
Eliot Horowitz
08489a2b42 unique shard key support SHARDING-31 2009-09-03 16:48:34 -04:00
Eliot Horowitz
644df81d21 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-01 17:29:39 -04:00
Eliot Horowitz
1b344adf4b can't shard a collection with a unique index SHARDING-24 2009-09-01 17:28:58 -04:00
Dwight
e5fb018121 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-01 16:39:01 -04:00
Dwight
7172529835 some help for commands 2009-09-01 16:23:56 -04:00
Eliot Horowitz
7c11076e73 can't shard system namespaces 2009-09-01 15:59:19 -04:00
Eliot Horowitz
7ac635188e make sure new shards are valid SHARDING-29 2009-09-01 14:06:50 -04:00
Eliot Horowitz
3ee681be36 more name changes in sharding 2009-09-01 12:17:41 -04:00
Eliot Horowitz
bcd665877b another name changing checkpoint
config.shard -> config.shards
 config.shard[server] -> config.chunks[shard]
2009-09-01 11:09:43 -04:00
Eliot Horowitz
75e16447a4 starting sharding name cleanup SHARDING-25 2009-08-31 16:31:50 -04:00
dwight
6d6f8d5bf7 rename some sharding commands. 2009-08-30 11:22:58 -04:00
dwight
5e31aa0f19 rename
Command addserver->addshard
Collection config.servers->config.shards
2009-08-29 15:08:22 -04:00
Eliot Horowitz
1bb94684f5 Sharding: rename commands.cpp commands_admin.cpp 2009-04-22 13:36:29 -04:00