Commit Graph

151 Commits

Author SHA1 Message Date
Mathias Stearn
03736f9567 Don't allow manual split-point with different field order SERVER-3080 2011-06-20 19:29:12 -04:00
Eliot
0d4db0b5b0 Merge pull request #40 from JensRantil/master
Spelling and grammar corrections only
2011-06-15 19:53:25 -07:00
Kristina
dd0aea3497 split out sharding/non-sharding shutdown 2011-06-10 12:35:33 -04:00
Jens Rantil
953a3e7a41 Fixing a spelling/grammar misstake made in previous commit (2c8088f180) correcting spelling/grammar. 2011-05-27 11:44:07 +02:00
Jens Rantil
2c8088f180 Fixing a bunch of spelling mistakes, and a few grammatical errors. No functionality has been changed. 2011-05-26 11:59:13 +02:00
Eliot Horowitz
096e570a64 fix moveChunk on new mongos SERVER-2828 2011-05-19 17:48:33 -04:00
Mathias Stearn
c9b29b3418 fix condition 2011-05-06 11:55:43 -04:00
Mathias Stearn
80d6f91f19 Don't return Chunk up stack after ChunkMangagerPtr goes out of scope 2011-05-05 22:52:10 -04:00
Eliot Horowitz
03d6d92475 debugging for shard test failure 2011-04-25 00:23:21 -04:00
Eliot Horowitz
9d9e85d7e2 better error message 2011-04-19 16:40:22 -04:00
Dwight
39c5cbdbf7 indicate in mongo shell prompt if connected to a mongos. goal would be to prevent fat fingers and similar confusion. 2011-04-14 16:47:06 -04:00
Dwight
4ea7daa569 cant shard local db 2011-04-12 11:25:47 -04:00
Eliot Horowitz
56daba0d48 flushRouterConfig to force a mongos config reload SERVER-2666 2011-04-06 02:50:20 -04:00
gregs
301376410c conversion of unneeded caused_by macros to methods 2011-04-01 09:45:10 -04:00
Eliot Horowitz
67ba94424e don't allow sharding admin db SERVER-2086 2011-03-31 11:17:16 -04:00
gregs
bff866a5a1 remove debug log statement 2011-03-30 19:24:48 -04:00
gregs
69cf8bee0b fix for SERVER-2326, unique : true semantics 2011-03-30 19:20:18 -04:00
gregs
db73ff7aff need to check dist lock acquired on moving primary 2011-03-23 12:47:05 -04:00
Eliot Horowitz
40c3772b11 fast fail when config servers aren't all up 2011-03-10 13:59:27 -05:00
Eliot Horowitz
bcd73ab979 don't return local in listDatabases sharded 180 SERVER-2686 2011-03-08 13:47:22 -05:00
Eliot Horowitz
dc1113c763 reload conifg after manual split 2011-03-04 12:38:35 -05: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
Eliot Horowitz
9b5be3e883 force a config reload after a manual moveChunk 2011-02-10 15:48:23 -05:00
Eliot Horowitz
9297201b7f fix replSetGetStatus for shell SERVER-2411 2011-02-02 09:43:09 -05:00
Dwight
2320f6211a tweak text 2011-02-01 12:17:41 -05:00
Eliot Horowitz
4e678efc48 implement replSetGetStatus so we don't get ugly errors SERVER-2411 2011-02-01 11:37:46 -05:00
Eliot Horowitz
92e287cfe8 use trueValue instead of Bool 2011-01-26 16:58:27 -05:00
Eliot Horowitz
1e2021f5d1 put version# in mongos serverStatus as well as process name in mongos and mongod SERVER-2355 2011-01-16 00:44:18 -05:00
Eliot Horowitz
7c3be2b805 make sure config is in listDatabases SERVER-2347 2011-01-11 16:04:39 -05:00
Alberto Lerner
6a6ad16702 SERVER-2060 test for null values at shardcollection time 2011-01-10 11:56:28 -08:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Alberto Lerner
70cf11916e better error handling in split client side (still needs work) 2010-12-29 09:59:05 -05:00
Eliot Horowitz
224a70df91 move getLastError code to client.cpp so can access not only through command interface 2010-12-27 16:44:15 -05:00
Eliot Horowitz
d013407406 moving client class into its own file 2010-12-27 16:27:32 -05:00
Kristina
60814a460f Revert "don't forward getlasterror to config servers SERVER-1793"
This reverts commit 9fbb4f81f4.
2010-12-24 23:17:09 -05:00
Kristina
9fbb4f81f4 don't forward getlasterror to config servers SERVER-1793 2010-12-23 15:49:22 -05:00
Eliot Horowitz
90b4b4abc8 make isMaster in mongos match mongod SERVER-2260 2010-12-20 19:09:41 -05:00
Alberto Lerner
a3b3c83f96 SERVER-1358 don't migrate a chunk larger than max chunk size (but allow explicit override) 2010-12-17 17:49: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
Eliot Horowitz
0c7e7101a6 track network in/out SERVER-2081 2010-11-09 00:15:14 -05:00
Alberto Lerner
86b6240226 better method name 2010-10-25 12:28:13 -04:00
Alberto Lerner
18938d62ec fix error when key provided is not a valid split key 2010-10-23 10:40:10 -04:00
Alberto Lerner
0b621a2079 all split requests now go through new logic 2010-10-22 09:38:36 -04:00
Alberto Lerner
a1cee4c9d6 deprecate splitValue command 2010-10-19 07:47:12 -04:00
Eliot Horowitz
53a0d295e3 split bson max size into User and Internal
sometimes objects have to be bigger (oplog insertion for example)
more prep for SERVER-431
2010-10-11 11:26:41 -04:00
Eliot Horowitz
d3c3b8a903 using BSONObjMaxSize everywhere bson size comes into play
still 4mb, this is just prep for changing SERVER-431
2010-10-10 20:01:17 -04:00
Eliot Horowitz
56226d80bb expose listDatabases to rest SERVER-1909 2010-10-08 16:58:34 -04:00
Dwight
8e923e738d maxbsonobjectsize in isMaster command return 2010-10-08 14:30:56 -04:00
Alberto Lerner
9076c182ec SERVER-1822 pull out WriteBackListener, next dedup will use it 2010-10-01 12:45:36 -04:00
Eliot Horowitz
1d25159679 implement resetError for sharding, makes rename4 work 2010-09-30 11:05:41 -04:00