Commit Graph

114 Commits

Author SHA1 Message Date
Mathias Stearn
59674dfb56 print less 2010-07-30 22:38:18 -04:00
Mathias Stearn
80a3a93253 reload chunks if out of date 2010-07-30 22:38:18 -04:00
Mathias Stearn
52449fbbd2 Use FieldRangeOrSet to support $or with sharding 2010-07-23 21:58:32 -04:00
Alberto Lerner
d4e59d32b5 Split early if collection is small 2010-07-23 18:21:54 -04:00
Eliot Horowitz
6b4e91bef9 some edge case fixes with isnerts 2010-07-23 16:06:24 -04:00
Mathias Stearn
dd79445bbb make more commands work with mongos SERVER-1462 2010-07-22 21:03:24 -04:00
Eliot Horowitz
092ab485ea moving all saving logic into DBConfig SERVER-1427 2010-07-21 14:47:32 -04:00
Alberto Lerner
88d5717fb6 Assert to stop suspicious split 2010-07-20 23:43:05 -04:00
Eliot Horowitz
1727a565e4 asserts/logging for weird split problem 2010-07-20 23:17:12 -04:00
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