Commit Graph

148 Commits

Author SHA1 Message Date
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
Eliot Horowitz
e53c67abab easier to disable last error for a short while SERVER-1541 2010-08-02 15:17:24 -04:00
Eliot Horowitz
a954509488 don't raise an error when can't get a lock SERVER-1541 2010-08-02 15:10:08 -04:00
Eliot Horowitz
85c5f3f72f some query asserts 2010-08-02 15:05:41 -04:00
Dwight
08eaec0599 check for null return from query() 2010-08-02 14:44:53 -04:00
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