0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
Commit Graph

50 Commits

Author SHA1 Message Date
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Mathias Stearn
456493083e move code into ShardKeyPattern::moveToFront() and add unit tests. SERVER-1540 2010-09-22 17:50:50 -04:00
Mathias Stearn
4f5c998561 Optimize common case 2010-09-22 14:21:53 -04:00
Eliot Horowitz
72f2eb24d5 change LazyString to toString rather than (string) 2010-07-17 22:11:21 -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
2b2354066a canOrder isn't used so yanking 2010-07-13 23:21:19 -04:00
Eliot Horowitz
e63f90f982 fix ShardKeyPattern::extractKey 2010-07-07 08:30:24 -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
d6f971e2d4 limit the size of shardkeys to 512 bytes 2010-07-07 00:30:31 -04:00
Mathias Stearn
95fa51a1df git rid of "operator string" 2010-07-07 00:30:17 -04:00
Alberto Lerner
105ab908e4 SERVER-1185 A bit of prep-ing before the actual changes 2010-06-30 20:23:38 -04:00
Mathias Stearn
330f0fbe2c shardkey const correctness 2010-05-04 16:49:04 -04:00
Eliot Horowitz
d72a7fcfca sharding: allow unique indexes if key is more specific than shard key SERVER-917 2010-04-15 10:59:13 -04:00
Mathias Stearn
4cde3da0f5 Remove relevantForQuery. SERVER-947 2010-04-13 00:10:55 -04:00
Eliot Horowitz
a74353b6f1 debugging 2009-12-10 10:46:41 -05:00
Mathias Stearn
28141877ee Remove ill-planned nested/dotted split. Keep everything dotted. 2009-12-09 18:57:19 -05:00
Eliot Horowitz
daaa53c4c5 fix sharding on _id when _id is missing SHARDING-55 2009-11-19 21:42:46 -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
6e135afa26 Constify Chunk::getMin and getMax 2009-11-04 15:06:36 -05:00
Mathias Stearn
305ebbe329 Use default copy constructor for ShardKeyPattern 2009-11-04 15:06:36 -05:00
Eliot Horowitz
75e16447a4 starting sharding name cleanup SHARDING-25 2009-08-31 16:31:50 -04:00
Dwight
2226f3292b very minor text / comments 2009-08-27 15:26:29 -04:00
Eliot Horowitz
2d12856284 Sharding: get rid of ShardKey::middle 2009-05-06 12:34:22 -04:00
Dwight
b2a3fc9fb8 just comments MINOR 2009-04-27 11:20:47 -04:00
Dwight
ed0065fff2 visual studio happy 2009-04-23 14:31:40 -04:00
Eliot Horowitz
71727701e5 Sharding: move empty shards on a split 2009-04-20 17:42:01 -04:00
Eliot Horowitz
fac9fcc1a1 smarter about how to split a shard
if one side is either MIN or MAX, takes all the data and puts in one
   otherwise splits on the median value
2009-03-30 17:13:55 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Dwight
8431f60b10 shardkey lt gt query support 2009-03-06 13:12:00 -05:00
dwight
d9ceecba23 comments 2009-02-28 09:38:41 -05:00
Eliot Horowitz
cedd4f0008 better debugging 2009-02-27 14:23:52 -05:00
Dwight
5a261ed678 new shardkey implementation (first pass) 2009-02-27 11:04:36 -05:00
Dwight
7225f8d37b Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	s/shard.cpp
	s/shardkey.cpp
	s/shardkey.h
2009-02-26 12:08:25 -05:00
Dwight
27b8b36c99 shardkey partial 2009-02-26 12:02:43 -05:00
Eliot Horowitz
a828c99d87 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-26 12:01:42 -05:00
Eliot Horowitz
47d36c761e sharding schema change, some object re-org 2009-02-26 12:01:24 -05:00
Dwight
ddbda7bd76 a couple more unit tests before rippign up 2009-02-26 11:31:08 -05:00
Dwight
5c74c8df81 comments and better names for shardkey
changed class name to ShardKeyPattern
2009-02-25 16:46:10 -05:00
Dwight
f95bfb7a5b shardkey comments 2009-02-25 16:19:56 -05:00
Eliot Horowitz
4fcdc84977 sharded sort by shard key 2009-02-24 11:59:43 -05:00
Eliot Horowitz
c11f524915 comments 2009-02-23 17:32:47 -05:00
Eliot Horowitz
00eb714709 sharding query work - works of only need 1 server 2009-02-21 23:39:41 -05:00
Eliot Horowitz
c97ed5184b moveshard 2009-02-20 13:46:57 -05:00
Eliot Horowitz
5f6aa4f67d insert shard checkpoint 2009-02-20 10:46:42 -05:00
Eliot Horowitz
a55abd3fa2 lots of low level shard infrastructure in place now 2009-02-19 13:26:25 -05:00
Aaron
593bf1f126 virtual dtors == good 2009-02-18 13:42:32 -05:00
Eliot Horowitz
8e203da1d2 switch to UnitTest 2009-02-18 10:10:39 -05:00
Eliot Horowitz
8f65a14db1 shard object cleaning, split, ShardKey api cleaning 2009-02-17 23:31:27 -05:00
Eliot Horowitz
e74408dc7a checkpoint for sharding object stuff 2009-02-17 15:34:52 -05:00
Eliot Horowitz
73c8977fab shardkey api, more shard api work 2009-02-17 14:41:31 -05:00