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
Eliot Horowitz
1c778d93ed
abort chunk move if too big SERVER-1806
2010-09-16 16:57:08 -04:00
Eliot Horowitz
0b0247d518
on failed getLastError put entire shard object
2010-09-13 10:27:11 -04:00
Eliot Horowitz
6273e13e48
isMaster casing
2010-09-10 14:27:22 -04:00
Alberto Lerner
76751df6b5
SERVER-1607 replica set checks before adding a shard
2010-08-27 18:48:22 -04:00
Alberto Lerner
0206ce9041
SERVER-1611 allow localhost in a replica-set-based shard
2010-08-27 11:48:16 -04:00
Alberto Lerner
7b9d5bc04b
Bug fix: DefaultDBPort is perfectly valid when transitioning from a non-sharded mongod
2010-08-04 18:55:58 -04:00
Alberto Lerner
9086cd331d
by ref is used everywhere else in errmsg
2010-08-03 09:58:15 -04:00
Alberto Lerner
5a69c45341
SERVER-1292 For now, don't add a mongod as a shard if it's not empty. Will allow that next.
2010-07-30 13:21:39 -04:00
Alberto Lerner
bceacf2544
SERVER-1292 A bit more prep, separate grid.{h,cpp} from config
2010-07-28 14:24:55 -04:00
Alberto Lerner
bc3f63ebf1
SERVER-1497 Cant mix and match localhost and real IPs
2010-07-28 11:14:26 -04:00
Alberto Lerner
e53107eeeb
SERVER-1292 Prep work by moving shard adding logic to Grid
2010-07-26 16:13:36 -04:00
Eliot Horowitz
ee12ec39cd
getLastError handles writeback
2010-07-22 13:52:42 -04:00
Alberto Lerner
7bda6170b8
Merge branch 'master' of github.com:mongodb/mongo
2010-07-21 16:33:04 -04:00
Alberto Lerner
db947047b0
SERVER-1418 Shard names now use padding zeroes
2010-07-21 16:31:51 -04:00
Eliot Horowitz
092ab485ea
moving all saving logic into DBConfig SERVER-1427
2010-07-21 14:47:32 -04:00
Eliot Horowitz
03b70c6883
not using Model for DBConfig - first step in SERVER-1427
2010-07-21 12:17:38 -04:00
Alberto Lerner
4b2de232c9
SERVER-1270 Elim c_str() /s
2010-07-20 12:57:47 -04:00
Mathias Stearn
a6e5331c1b
Don't allow closeAllDatabases via mongos SERVER-1441
2010-07-19 16:29:20 -04:00
Alberto Lerner
2ea2bb00d6
SERVER-1353 removeShard takes shard name as well
2010-07-16 11:49:40 -04:00
Alberto Lerner
44e3741116
SERVER-1353 movePrimary takes shard name as well
2010-07-16 11:24:58 -04:00
Eliot Horowitz
bdecc98ee9
some listDatabases cleaning
2010-07-16 01:16:41 -04:00