Commit Graph

85 Commits

Author SHA1 Message Date
Alberto Lerner
425535b940 SERVER-1185 Initial multi-point split mechanism 2010-07-05 19:46:11 -04:00
Alberto Lerner
16ae88847a SERVER-1185 Prep-ing for multi-split feature 2010-07-05 09:26:38 -04:00
Eliot Horowitz
4291eee212 less debugging 2010-07-03 22:06:44 -04:00
Eliot Horowitz
6bd7d29d99 better distributed locking 2010-07-02 16:48:21 -04:00
Eliot Horowitz
3ba2866586 Merge branch 'master' of github.com:mongodb/mongo 2010-07-01 17:46:23 -04:00
Mathias Stearn
aa7aeab86d Fetch chunks in newest-last order SERVER-1321 2010-07-01 17:46:06 -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
Eliot Horowitz
fdced7082a mostly done with a real distributed lock 2010-07-01 01:06:13 -04:00
Mathias Stearn
e9a9b3bf36 get rid of _chunks vector 2010-06-30 20:33:58 -04:00
Mathias Stearn
30e583d1b2 Useful Chunk Constructors 2010-06-30 20:33:58 -04:00
Mathias Stearn
795144c622 Chunk doesn't need its own copy of ns 2010-06-30 20:33:58 -04:00
Eliot Horowitz
e3b9118733 un-fixing so tests pass for a bit 2010-06-30 16:32:36 -04:00
Alberto Lerner
5096cb8b40 Mark connection done() when finished with it 2010-06-30 13:40:50 -04:00
Eliot Horowitz
e6368b8beb nicer chunk versions 2010-06-30 00:03:10 -04:00
Mathias Stearn
3b37957322 cache list of shards SERVER-952 2010-06-29 20:40:29 -04:00
Eliot Horowitz
95d59d3dc3 first cut at using applyOps for updating chunk info 2010-06-29 17:57:29 -04:00
Alberto Lerner
ecba5ba151 Fix typo in log message 2010-06-15 08:52:22 -04:00
Alberto Lerner
215247c845 Update config db occurs at a later point 2010-06-14 11:32:15 -04:00
Alberto Lerner
86a5ca68a5 Fix MaxChunkSize typo 2010-06-14 10:33:34 -04:00
Eliot Horowitz
0606c4947e don't lock in ChunkManager constructor 2010-06-02 17:01:28 -04:00
Mathias Stearn
418e679054 Chunk now uses enable_shared_from_this 2010-05-28 17:24:03 -04:00
Dwight Merriman
37f2cc06a5 rwlocks participate in mutexDebugger 2010-05-27 15:21:10 -04:00
Mathias Stearn
4436e111c6 this should never have compiled 2010-05-26 17:15:27 -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
Eliot Horowitz
ecec906288 fix connection pooling a bit 2010-05-20 13:36:29 -04:00
Mathias Stearn
b35be1cbb4 Better debugging for invalid chunk case 2010-05-20 12:18:07 -04:00
Eliot Horowitz
0fc313b2e3 need to check version in another place 2010-05-19 23:13:48 -04:00
Eliot Horowitz
22a5344bc4 Merge branch 'master' of git@github.com:mongodb/mongo 2010-05-19 17:01:36 -04:00
Eliot Horowitz
29130d0c12 make client -> mongod connection static SERVER-956 2010-05-19 17:01:09 -04:00
Mathias Stearn
ed2cd04e97 Wait longer between retrying sharding chunk load. 2010-05-19 16:32:16 -04:00
Mathias Stearn
0b6d9c5a4d Reload chunks if got invalid config. SERVER-1135 2010-05-19 15:26:17 -04:00
Aaron
190c9fb917 compile all 2010-05-12 10:58:16 -07:00
Eliot Horowitz
0853f8cb20 on min/max split, make chunk size 10% smaller so a few more objects won't push over edge 2010-05-11 14:14:16 -04:00
Mathias Stearn
20deda97c2 sharding: Use ChunkRanges rather than Chunks for getChunksForQuery 2010-05-05 14:37:14 -04:00
Dwight
4b81c59f01 compile 2010-05-04 17:43:53 -04:00
Mathias Stearn
c8ef0e5558 ChunkRange and ChunkRangeManager. Maintained but not used yet 2010-05-04 16:49:04 -04:00
Eliot Horowitz
d1082cf676 some refactoring for SERVER-946 2010-05-03 11:18:27 -04:00
Eliot Horowitz
8df6518e62 reload chunks on error 2010-04-30 11:59:28 -04:00
Eliot Horowitz
1721270c5b hack invalid config case 2010-04-29 21:04:54 -04:00
Mathias Stearn
846453e82a Debugging for chunk not found error 2010-04-29 14:05:52 -04:00
Eliot Horowitz
c8e9ec0247 maxSize for dataSize command 2010-04-28 12:19:46 -04:00
Eliot Horowitz
65f9f38b1e better sequence numbers 2010-04-27 21:39:58 -04:00
Dwight
d85a93fc76 Merge branch 'master' of git@github.com:mongodb/mongo 2010-04-27 15:28:33 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
5ba206e9d3 fix move chunk error SERVER-1058 2010-04-27 15:19:33 -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
81c90b34e5 Merge branch 'master' of git@github.com:mongodb/mongo 2010-04-22 17:07:51 -04:00
Eliot Horowitz
2734be0052 forgot a lock 2010-04-22 17:07:47 -04:00
Mathias Stearn
bbb8ca9316 ChunkManager::getShardsForQuery SERVER-952 SERVER-943 2010-04-22 16:00:59 -04:00