Commit Graph

167 Commits

Author SHA1 Message Date
Eliot Horowitz
5a03de8aab fix read only user support with sharding for basic queries SERVER-4156 2011-10-26 17:43:04 -04:00
gregs
b9a31adaf2 SERVER-3565 don't shard with sparse shard key index 2011-10-13 11:23:12 -04:00
Mathias Stearn
3ad01731f6 List DBs that need to move in removeShard output SERVER-3512 2011-10-04 16:21:23 -04:00
Mathias Stearn
8e9cebc95e removeShard removes local from config.databases if owned by shard to remove SERVER-3512 2011-10-04 16:21:23 -04:00
dwight
bc9d347ff8 compile 2011-10-02 14:04:31 -04:00
Kristina
a5cfd6af34 make getLastError require auth SERVER-3773 2011-09-30 13:11:21 -04:00
gregs
f17810799b better msging / tests when sharding collection with diff types of indexes SERVER-3718 2011-09-29 13:51:17 -04:00
Kristina
991bfa6eae more commands require authentication SERVER-3773
Not getLastError, for now, as it's a little more complicated.
2011-09-29 13:07:14 -04:00
Mathias Stearn
75f2d53c1f Prevent removeShard command from putting cluster into bad state SERVER-3318 2011-09-13 18:54:38 -04:00
Kristina
661827cc85 make isdbgrid have similar permissions to isMaster SERVER-3621 2011-08-17 13:02:41 -04:00
gregs
4d3fdcfc10 fix semantics of the getChunkManager() method, add non-erroring version SERVER-3517 2011-08-09 02:16:54 -04:00
Mathias Stearn
dd520e59a5 Add "warnings" RamLog and field in serverStatus. Use for full disk warnings. SERVER-3323 2011-08-08 12:44:52 -04:00
gregs
e5d902202f full API change to command interface, add options SERVER-3405 2011-07-27 15:59:27 -04:00
gregs
cc43fc3e4a change command api to allow command options SERVER-3405 2011-07-27 15:59:27 -04:00
Eliot Horowitz
e1e7abee65 move connTicketHolder 2011-06-26 18:41:08 -04:00
Eliot Horowitz
142a86b237 net cleaning: move message.* to net/
net cleaning: move http tools to net/
2011-06-26 17:13:54 -04:00
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