Commit Graph

105 Commits

Author SHA1 Message Date
Mathias Stearn
97f90e2586 Cleaning up ensureIndex in ChunkManager 2010-07-19 14:08:43 -04:00
Alberto Lerner
daf8c0fbd0 Revert "SERVER-1270 Prep for hooking StringData"
This reverts commit b7c9a9fc57.
2010-07-17 16:07:38 -04:00
Alberto Lerner
b7c9a9fc57 SERVER-1270 Prep for hooking StringData 2010-07-17 14:33:17 -04:00
Eliot Horowitz
7ba534ce17 cleaning unit/test 2010-07-16 15:22:36 -04:00
Eliot Horowitz
8a91bd65fe prevent race condition on splits 2010-07-16 10:00:01 -04:00
Eliot Horowitz
9d53bc19ed checkpoint for re-write of migrate transfer
SERVER-1239 SERVER-1404
NOT FULL WORKING YET
2010-07-15 14:18:26 -04:00
Mathias Stearn
cfcc881427 compound shard keys are almost done SERVER-951 2010-07-14 20:08:14 -04:00
Mathias Stearn
ac6001073f optimization 2010-07-14 20:08:14 -04:00
Alberto Lerner
ea2286d5e1 SERVER-1185 make it easier to add compound keys 2010-07-14 16:21:39 -04:00
Alberto Lerner
9891a1d545 SERVER-1185 split->multi-split and testing 2010-07-14 13:58:14 -04:00
Mathias Stearn
c8992ae056 cleaner 2010-07-13 23:21:20 -04:00
Alberto Lerner
9fe16fe586 Fix message 2010-07-13 17:50:19 -04:00
Eliot Horowitz
fb4b8a3ec7 log start/finish for drop database/collection SERVER-1406 2010-07-13 16:42:41 -04:00
Mathias Stearn
6c160f9a82 getShardsForQuery support for compound indexes 2010-07-12 18:28:22 -04:00
Mathias Stearn
79e1244f06 goodbye _getChunksForQuery 2010-07-12 18:28:22 -04:00
Mathias Stearn
350d92f7f7 Chunk::countObjects() uses $min and $max SERVER-951 2010-07-12 18:28:22 -04:00
Mathias Stearn
77622da347 remove getChunksForQuery SERVER-952 2010-07-12 15:57:38 -04:00
Mathias Stearn
1dcdf8305b full option to BSONObj::toString. fix Chunk::genId. SERVER-1370 2010-07-07 12:18:57 -04:00
Mathias Stearn
13c6875815 temporarily Revert "git rid of "operator string""
This reverts commit 95fa51a1df.
2010-07-07 01:22:33 -04:00
Mathias Stearn
95fa51a1df git rid of "operator string" 2010-07-07 00:30:17 -04:00
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