Commit Graph

168 Commits

Author SHA1 Message Date
Alberto Lerner
f0d69affe8 move asserts into active code path 2010-10-29 18:23:44 -04:00
Alberto Lerner
910044f28a splits are now done by the mongod side 2010-10-27 17:13:47 -04:00
Alberto Lerner
6ee5d0ce16 and make it similar to the other messages in auto-split 2010-10-27 14:05:19 -04:00
Alberto Lerner
34f629fe27 downgrade message severity 2010-10-27 13:21:22 -04:00
Alberto Lerner
a22cc7e48d reloading a ChunkManager should also increment it sequence number 2010-10-27 12:19:15 -04:00
Alberto Lerner
7e074d00e4 split chunk maybe the first time a sharded command hit mongod 2010-10-25 15:38:22 -04:00
Alberto Lerner
86b6240226 better method name 2010-10-25 12:28:13 -04:00
Alberto Lerner
01e494c5e6 maintain the very same behavior of current multisplit 2010-10-25 11:55:29 -04:00
Eliot Horowitz
f54e4a512b cleaning some asserts 2010-10-24 17:25:20 -04:00
Eliot Horowitz
f1d5aae215 better assert for bad chunk config 2010-10-23 17:59:36 -04:00
Alberto Lerner
57507b03ef correct message this time 2010-10-23 10:08:32 -04:00
Alberto Lerner
e8019f7aee fix error in message when split point was empty 2010-10-23 09:52:39 -04:00
Alberto Lerner
3a8d363fd4 tighter new splitChunk (misses factoring out common code to migrate path) 2010-10-22 19:15:48 -04:00
Alberto Lerner
9be032d535 add missing braces 2010-10-22 12:04:37 -04:00
Alberto Lerner
9034a61ca2 prepare to issue splits on the mongod side 2010-10-22 10:38:23 -04:00
Alberto Lerner
0b621a2079 all split requests now go through new logic 2010-10-22 09:38:36 -04:00
Alberto Lerner
79dc60c12f simpleSplit logic is now exactly like current code 2010-10-21 18:14:22 -04:00
Alberto Lerner
ea3a9e3f6e support for fiding a median key and more elaborate simple split logic 2010-10-21 15:39:16 -04:00
Mathias Stearn
04a889eb05 Support $within on sharded collections SERVER-926 2010-10-20 17:33:39 -04:00
Alberto Lerner
1aaa0ec557 splits in mongos side will use this new call, when hooked 2010-10-19 09:09:36 -04:00
Alberto Lerner
c88c149eb9 expose first-chunk-creation logic and call it at 'shardcollection' command 2010-10-15 13:46:44 -04:00
Alberto Lerner
7b51d7111d dissolve friendship 2010-10-15 10:33:20 -04:00
Alberto Lerner
3348a25a3d clean cruft 2010-10-14 19:54:51 -04:00
Alberto Lerner
da10c9799c SERVER-1691 don't cache calls to ensureIndex if sharding a collection 2010-09-30 08:38:40 -04:00
Alberto Lerner
b6716766b5 SERVER-1691 return connection to the pool if done 2010-09-28 21:04:27 -04:00
Alberto Lerner
e8f0119c55 SERVER-1849 allow recreating a recently dropped collection 2010-09-25 07:21:25 -04:00
Alberto Lerner
7043dd9ec5 Merge branch 'master' of github.com:mongodb/mongo 2010-09-16 18:22:47 -04:00
Alberto Lerner
d55c4af161 SERVER-1807 quicker auto-split if in a jumbo chunk case 2010-09-16 18:21:59 -04:00
Eliot Horowitz
1c778d93ed abort chunk move if too big SERVER-1806 2010-09-16 16:57:08 -04:00
Eliot Horowitz
dd1a25d458 comments 2010-09-13 01:21:20 -04:00
Eliot Horowitz
2418da510e use splitVector instead of datasize and mediankey. 1 command vs. 2 and should be faster and more extensible.
still some code cleanup to do probably
SERVER-1550 SERVER-1779
2010-09-12 18:23:27 -04:00
Eliot Horowitz
b409a59980 use & for passing vectors to add to not * 2010-09-12 17:51:39 -04:00
Eliot Horowitz
34e04d266b moving some loging from chunk to chunkmanager 2010-09-12 17:51:39 -04:00
Alberto Lerner
f70b0594a5 comments 2010-09-12 13:01:05 -04:00
Alberto Lerner
227acd8528 SERVER-1781 reset a chunk's modified flag after the chunk info was saved 2010-09-12 12:03:50 -04:00
Alberto Lerner
620b4c9805 comments 2010-09-12 11:09:11 -04:00
Alberto Lerner
f5af7eb1ac reminder 2010-09-11 17:55:54 -04:00
Alberto Lerner
e0a7a139ca better message 2010-09-11 09:42:29 -04:00
Eliot Horowitz
0069c093f1 remove chunkSplitLock since its replaced by distlock 2010-09-10 23:27:10 -04:00
Alberto Lerner
40bcd07cbf reminder 2010-09-10 18:48:32 -04:00
Eliot Horowitz
5013a1539a try to get ns lock earlier so not so chatty 2010-09-10 16:22:17 -04:00
Alberto Lerner
ad131f8096 reminder 2010-09-08 17:40:08 -04:00
Alberto Lerner
cfb4c808c7 comments 2010-09-08 13:25:56 -04:00
Eliot Horowitz
946b78eaad connection handling and logging cleaning 2010-09-04 12:04:03 -04:00
Alberto Lerner
8b24b1e719 SERVER-1545 don't switch shards if current is best (FCoJ) 2010-09-03 10:23:31 -04:00
Alberto Lerner
0f5e389c3e better assert message 2010-09-01 21:15:16 -04:00
Eliot Horowitz
9a9eb88534 dataSize has an estimate option, chunk uses this SERVER-1545 2010-08-24 01:25:45 -04:00
Alberto Lerner
9e951e98b4 SERVER-1545 splitVector now takes ranges. 2010-08-23 22:53:14 -04:00
Eliot Horowitz
c8f11dff74 clean up chunk version handling - prep for SERVER-1473 2010-08-04 13:28:11 -04:00
Mathias Stearn
7dba76ccc6 fix ChunkManager::getAllShards (fixes dbstats command among others) 2010-08-03 18:01:14 -04:00