Commit Graph

204 Commits

Author SHA1 Message Date
Mathias Stearn
e8ab9155c4 don't call _reload_inlock while not locked 2011-04-18 19:24:49 -04:00
Eliot Horowitz
138040ccc0 not checking msgasserted for dupes 2011-04-15 13:39:47 -04:00
gregs
301376410c conversion of unneeded caused_by macros to methods 2011-04-01 09:45:10 -04:00
Eliot Horowitz
bf7de73165 SERVER-2797 fix BTreeCursor handling and ensure chunks aren't over sized 2011-03-19 15:49:22 -04:00
greg
737a20b8fa Fixes for distributed lock handling time skew.
In general, the current distributed lock is susceptible to time skew in config servers and mongos clients.  This update
uses an algorithm that checks for time skew, as well as providing some more robust tests to make sure a distributed
lock cannot be forced prematurely.  Some documentation on the website, currently hidden from non-10gen, gives more
info.
2011-03-01 14:15:26 -05:00
Kristina Chodorow
a9e3511eda increase number of initial chunk splits allowed to fit 256GB of data SERVER-2271 2011-02-18 16:38:51 -05:00
Eliot Horowitz
a241bf7b69 Revert "increase threshold for making chunks smaller"
This reverts commit e2df9ecff83e8e3e2a7c404f1b329a1296f836a3.
2011-01-31 13:37:42 -05:00
Eliot Horowitz
5d157ac521 increase threshold for making chunks smaller 2011-01-31 13:37:42 -05:00
Eliot Horowitz
f4c3936ebc log splitChunk failures 2011-01-29 03:17:59 -05:00
Eliot Horowitz
1b68b2f53b fix some split logging 2011-01-29 01:25:24 -05:00
Eliot Horowitz
cf47b32ead don't keep checking for split points after a failure 2011-01-21 14:19:49 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Alberto Lerner
abf4b56913 SERVER-2036 refresh mongos chunk state if a split failed as well 2010-12-29 11:02:53 -05:00
Alberto Lerner
acb40fb684 SERVER-2306 split request now carries expected shard information 2010-12-29 10:53:02 -05:00
Alberto Lerner
70cf11916e better error handling in split client side (still needs work) 2010-12-29 09:59:05 -05:00
Alberto Lerner
de3be2307d a failure in migrate can be because of chunk boundaries being stale 2010-12-27 15:00:11 -05:00
Eliot Horowitz
fcb9bb88d5 fix int/long long issue 2010-12-19 12:19:00 -05:00
Alberto Lerner
bfdf4ba06e SERVER-1986 simpler mechanism for picking up split checks if mongos bounces frequently 2010-12-18 20:33:09 -05:00
Alberto Lerner
12764d61a0 Revert "SERVER-1986 check if split is needed every so often, even if not much data changed"
This reverts commit 31eadf03e2.
2010-12-18 17:32:47 -05:00
Alberto Lerner
7512156d5a SERVER-1358 add a size beyond which a chunk migrate request should not go through 2010-12-17 00:59:55 -05:00
Alberto Lerner
08bfb0143e SERVER-1358 lower maximum default chunk size 2010-12-17 00:31:15 -05:00
Alberto Lerner
31eadf03e2 SERVER-1986 check if split is needed every so often, even if not much data changed 2010-12-16 20:33:02 -05:00
Alberto Lerner
b0bafdf7d4 SERVER-1986 meant 250K not 2.5M 2010-12-16 14:33:13 -05:00
Alberto Lerner
30c1709c2b SERVER-1986 more reasonable limit for docs in a split chunk 2010-12-16 14:31:59 -05:00
Alberto Lerner
ea2bb1d419 raise log level but soften message (was an ERROR in the past) 2010-12-15 17:23:19 -05:00
Alberto Lerner
f74c2e179e better error message 2010-12-14 15:34:40 -05:00
Alberto Lerner
76979b2380 reminder 2010-12-04 14:43:07 -05:00
Alberto Lerner
c8fd4df699 disambiguate 2010-12-02 13:09:27 -05:00
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