0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

176 Commits

Author SHA1 Message Date
Alberto Lerner
f9d7cdab63 ChunkMatcher now has per-chunk boundaries 2010-11-18 17:59:20 -05:00
Alberto Lerner
5e927a1a30 clean cruft 2010-11-05 11:03:55 -04:00
Alberto Lerner
73a614ccec ChunkManager doesn't change its state anymore 2010-11-02 16:34:46 -04:00
Alberto Lerner
f3c8c24e0e clean cruft 2010-11-02 14:54:44 -04:00
Alberto Lerner
787309befb clean cruft 2010-11-02 14:45:00 -04:00
Alberto Lerner
78c6e21862 Chunk/ChunkManager do not depend on ConfigDB anymore 2010-11-02 13:54:01 -04:00
Alberto Lerner
c1d77b6396 the ChunkManager is now read-only; no need to 'modified' chunk control 2010-10-29 18:41:32 -04:00
Alberto Lerner
d05001e79d remove deprecated code 2010-10-29 18:28:28 -04:00
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