Commit Graph

53 Commits

Author SHA1 Message Date
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
Eliot Horowitz
ab537aed1d moving towards better thread safey SERVER-944 2010-04-22 15:39:04 -04:00
Eliot Horowitz
ed087a257f only 1 auto split at a time 2010-04-22 13:32:22 -04:00
Eliot Horowitz
a3242b6791 use better _id for chunks 2010-04-22 10:29:05 -04:00
Eliot Horowitz
f1db30470a capped collection changelog 2010-04-20 17:07:10 -04:00
Dwight
fb09b88240 rs 2010-04-20 12:29:00 -04:00
Eliot Horowitz
8afdf52bad Shard abstraction 2010-04-19 16:55:16 -04:00
Eliot Horowitz
14910098cb fix error code 2010-04-12 23:34:00 -04:00
Mathias Stearn
bc63a3f9c7 Use FieldRangeSet to pick chunks for queries. SERVER-954 SERVER-952 SERVER-947 2010-04-12 23:08:30 -04:00
Mathias Stearn
3a25213655 Add chunkMap to ChunkManager. Start of SHARDING-79 2010-04-01 15:41:13 -04:00
Eliot Horowitz
7a118d59f2 sharding debuggin 2010-03-20 23:46:19 -04:00
Eliot Horowitz
e310776ecf make chunk size configurable and default 200mb 2010-02-12 15:27:43 -05:00
Mathias Stearn
29f0b15d5f Don't split chunk if min would equal max 2010-02-11 20:22:32 -05:00
Mathias Stearn
392d9bfe8d sharding: Chunk const-correctness MINOR 2010-02-09 12:30:58 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Mathias Stearn
28141877ee Remove ill-planned nested/dotted split. Keep everything dotted. 2009-12-09 18:57:19 -05:00
Mathias Stearn
dcf3a10eea Start using Date_t. Can anyone think of a better name? 2009-12-09 12:00:17 -05:00
Eliot Horowitz
a3a7634e3c cleaning and comment 2009-12-08 20:54:27 -05:00
Eliot Horowitz
03e3c49ebe sharded dropDatabase SHARDING-53 2009-12-02 16:36:46 -05:00
Eliot Horowitz
0fb7289f3a refactoring/cleaning of drop/dropDatabase/removeshard 2009-11-24 17:28:57 -05:00
Eliot Horowitz
c04ee7b281 fix streaming from chunks with bad data
change migrate semantics: will now remove data in range migrating to
SHARDING-20 SHARDING-32
2009-11-09 17:08:25 -05:00
Eliot Horowitz
f6d0668141 drop() support for sharded collections SHARDING-36 2009-11-09 12:42:20 -05:00
Eliot Horowitz
820c8e8db3 can move last chunk off of a server SHARDING-32 SHARDING-28 2009-11-06 13:57:01 -05:00
Mathias Stearn
9fcf4ba1ef Support embedded fields for shard keys. SHARDING-48
Needs more testing.
2009-11-04 15:06:36 -05:00
Mathias Stearn
19863b852e Chunk dotted support 2009-11-04 15:06:36 -05:00
Eliot Horowitz
3a1c9831c1 some sharded query re-factoring 2009-11-03 10:35:48 -05:00
Eliot Horowitz
fdcff3645e more work on various shard key types, an update fix 2009-10-29 16:07:06 -04:00
Eliot Horowitz
c423f4cb6f better error reporting on media failure 2009-10-29 11:59:27 -04:00
Eliot Horowitz
29f1a9fa2f small chunk fix MINOR 2009-10-28 13:41:38 -04:00
Eliot Horowitz
78bfd73520 writeback fix and making sure all connection pools are cleaned up 2009-09-14 14:32:24 -04:00
Eliot Horowitz
c53e909ced cleaning and don't allow group on a sharded collection SHARDING-26 2009-09-04 11:00:43 -04:00
Eliot Horowitz
08489a2b42 unique shard key support SHARDING-31 2009-09-03 16:48:34 -04:00