Commit Graph

96 Commits

Author SHA1 Message Date
Alberto Lerner
7b9d5bc04b Bug fix: DefaultDBPort is perfectly valid when transitioning from a non-sharded mongod 2010-08-04 18:55:58 -04:00
Alberto Lerner
9086cd331d by ref is used everywhere else in errmsg 2010-08-03 09:58:15 -04:00
Alberto Lerner
5a69c45341 SERVER-1292 For now, don't add a mongod as a shard if it's not empty. Will allow that next. 2010-07-30 13:21:39 -04:00
Alberto Lerner
bceacf2544 SERVER-1292 A bit more prep, separate grid.{h,cpp} from config 2010-07-28 14:24:55 -04:00
Alberto Lerner
bc3f63ebf1 SERVER-1497 Cant mix and match localhost and real IPs 2010-07-28 11:14:26 -04:00
Alberto Lerner
e53107eeeb SERVER-1292 Prep work by moving shard adding logic to Grid 2010-07-26 16:13:36 -04:00
Eliot Horowitz
ee12ec39cd getLastError handles writeback 2010-07-22 13:52:42 -04:00
Alberto Lerner
7bda6170b8 Merge branch 'master' of github.com:mongodb/mongo 2010-07-21 16:33:04 -04:00
Alberto Lerner
db947047b0 SERVER-1418 Shard names now use padding zeroes 2010-07-21 16:31:51 -04:00
Eliot Horowitz
092ab485ea moving all saving logic into DBConfig SERVER-1427 2010-07-21 14:47:32 -04:00
Eliot Horowitz
03b70c6883 not using Model for DBConfig - first step in SERVER-1427 2010-07-21 12:17:38 -04:00
Alberto Lerner
4b2de232c9 SERVER-1270 Elim c_str() /s 2010-07-20 12:57:47 -04:00
Mathias Stearn
a6e5331c1b Don't allow closeAllDatabases via mongos SERVER-1441 2010-07-19 16:29:20 -04:00
Alberto Lerner
2ea2bb00d6 SERVER-1353 removeShard takes shard name as well 2010-07-16 11:49:40 -04:00
Alberto Lerner
44e3741116 SERVER-1353 movePrimary takes shard name as well 2010-07-16 11:24:58 -04:00
Eliot Horowitz
bdecc98ee9 some listDatabases cleaning 2010-07-16 01:16:41 -04:00
Eliot Horowitz
0e7de32756 remove 1 listDatabase method 2010-07-16 01:09:05 -04:00
Eliot Horowitz
0e2fd8c149 get rid of gridCommands 2010-07-16 00:31:43 -04:00
Mathias Stearn
fb36c68080 oops 2010-07-14 20:28:29 -04:00
Mathias Stearn
69726e894f Remove code to ban compound shard keys SERVER-951 2010-07-14 20:17:35 -04:00
Mathias Stearn
837ca87103 require shard keys to be ascending 2010-07-14 20:08:14 -04:00
Eliot Horowitz
5313628b85 Merge branch 'master' of github.com:mongodb/mongo 2010-07-14 16:31:23 -04:00
Eliot Horowitz
08b84d822c don't allow fsync+lock/unlock through mongos fsync by itselfis ok SERVER-932 2010-07-14 16:30:55 -04:00
Alberto Lerner
ea2286d5e1 SERVER-1185 make it easier to add compound keys 2010-07-14 16:21:39 -04:00
Eliot Horowitz
aa3b4f274a fix casing change 2010-07-14 14:15:27 -04:00
Alberto Lerner
9891a1d545 SERVER-1185 split->multi-split and testing 2010-07-14 13:58:14 -04:00
Eliot Horowitz
115c0975e9 support camelCase for sharding commands 2010-07-14 11:51:05 -04:00
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