Commit Graph

112 Commits

Author SHA1 Message Date
Eliot Horowitz
0c7e7101a6 track network in/out SERVER-2081 2010-11-09 00:15:14 -05:00
Alberto Lerner
86b6240226 better method name 2010-10-25 12:28:13 -04:00
Alberto Lerner
18938d62ec fix error when key provided is not a valid split key 2010-10-23 10:40:10 -04:00
Alberto Lerner
0b621a2079 all split requests now go through new logic 2010-10-22 09:38:36 -04:00
Alberto Lerner
a1cee4c9d6 deprecate splitValue command 2010-10-19 07:47:12 -04:00
Eliot Horowitz
53a0d295e3 split bson max size into User and Internal
sometimes objects have to be bigger (oplog insertion for example)
more prep for SERVER-431
2010-10-11 11:26:41 -04:00
Eliot Horowitz
d3c3b8a903 using BSONObjMaxSize everywhere bson size comes into play
still 4mb, this is just prep for changing SERVER-431
2010-10-10 20:01:17 -04:00
Eliot Horowitz
56226d80bb expose listDatabases to rest SERVER-1909 2010-10-08 16:58:34 -04:00
Dwight
8e923e738d maxbsonobjectsize in isMaster command return 2010-10-08 14:30:56 -04:00
Alberto Lerner
9076c182ec SERVER-1822 pull out WriteBackListener, next dedup will use it 2010-10-01 12:45:36 -04:00
Eliot Horowitz
1d25159679 implement resetError for sharding, makes rename4 work 2010-09-30 11:05:41 -04:00
Eliot Horowitz
1c778d93ed abort chunk move if too big SERVER-1806 2010-09-16 16:57:08 -04:00
Eliot Horowitz
0b0247d518 on failed getLastError put entire shard object 2010-09-13 10:27:11 -04:00
Eliot Horowitz
6273e13e48 isMaster casing 2010-09-10 14:27:22 -04:00
Alberto Lerner
76751df6b5 SERVER-1607 replica set checks before adding a shard 2010-08-27 18:48:22 -04:00
Alberto Lerner
0206ce9041 SERVER-1611 allow localhost in a replica-set-based shard 2010-08-27 11:48:16 -04:00
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