Commit Graph

61 Commits

Author SHA1 Message Date
Eliot Horowitz
d1082cf676 some refactoring for SERVER-946 2010-05-03 11:18:27 -04:00
Eliot Horowitz
c2af7912ca more thread safety for DBConfig 2010-04-27 17:22:17 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
8bbeed0067 fix unit test 2010-04-27 13:09:28 -04:00
Eliot Horowitz
a19e992925 use Shard class instead of string for passing around Shards 2010-04-27 12:32:59 -04:00
Eliot Horowitz
48fdb9c151 can't add the same shard/host multiple times SERVER-1043 2010-04-22 17:18:18 -04:00
Eliot Horowitz
5cd1a20b7f basic balancing working SERVER-945 2010-04-22 17:06:39 -04:00
Eliot Horowitz
be37180c5d auto balance checkpoint SERVER-945 2010-04-22 13:34:53 -04:00
Eliot Horowitz
a3242b6791 use better _id for chunks 2010-04-22 10:29:05 -04:00
Eliot Horowitz
aa1b777c61 database and shard _id is now meaningful 2010-04-21 17:44:07 -04:00
Eliot Horowitz
833370f29b windows compile 2010-04-20 17:15:48 -04:00
Eliot Horowitz
f1db30470a capped collection changelog 2010-04-20 17:07:10 -04:00
Dwight
fb09b88240 rs 2010-04-20 12:29:00 -04:00
Eliot Horowitz
8afdf52bad Shard abstraction 2010-04-19 16:55:16 -04:00
Eliot Horowitz
230e8cae8b fix gethost for config servers 2010-04-12 10:46:13 -04:00
Eliot Horowitz
25add7b27d fix mongos test 2010-04-07 10:15:34 -04:00
Eliot Horowitz
1e6780f844 can use sharding with SyncClusterConnection for 2 phase commit across 3 servers SHARDING-39 2010-03-22 11:47:37 -04:00
Eliot Horowitz
92dca86601 some abstractions in prep for SHARDING-39 2010-03-22 09:51:06 -04:00
Eliot Horowitz
7a118d59f2 sharding debuggin 2010-03-20 23:46:19 -04:00
Aaron
c971842a55 Revert "Revert "SERVER-695 don't destroy static global mutexes""
This reverts commit eb7cde3e75.

Conflicts:

	db/instance.h
2010-03-15 09:42:01 -07:00
Eliot Horowitz
e310776ecf make chunk size configurable and default 200mb 2010-02-12 15:27:43 -05:00
Eliot Horowitz
2c1274202f fix race condition when starting multiple mongos SHARDING-69 2010-02-08 12:10:15 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
a74353b6f1 debugging 2009-12-10 10:46:41 -05:00
Mathias Stearn
dcf3a10eea Start using Date_t. Can anyone think of a better name? 2009-12-09 12:00:17 -05:00
Eliot Horowitz
03e3c49ebe sharded dropDatabase SHARDING-53 2009-12-02 16:36:46 -05:00
Eliot Horowitz
0fb7289f3a refactoring/cleaning of drop/dropDatabase/removeshard 2009-11-24 17:28:57 -05:00
Eliot Horowitz
c7fb263e1a assert when no shards SHARDING-54 2009-11-19 21:49:25 -05:00
Dwight
37540835ac compile visual studio 2009-11-16 15:55:03 -05:00
Eliot Horowitz
f6d0668141 drop() support for sharded collections SHARDING-36 2009-11-09 12:42:20 -05:00
Eliot Horowitz
6e4f858c43 use CmdLine::ports for shard and config servers
get rid of --infer
some config server refactoring in prep for n phase commit for config server changes
2009-11-08 11:41:19 -05:00
Eliot Horowitz
9780f3092b make addshard take maxSize argument - though doesn't do anything yet SHARDING-21 2009-09-18 01:26:09 -04:00
Eliot Horowitz
b9d61d202c sharding config db versioning SHARDING-33 2009-09-10 00:39:30 -04:00
Eliot Horowitz
08489a2b42 unique shard key support SHARDING-31 2009-09-03 16:48:34 -04:00
Eliot Horowitz
3ee681be36 more name changes in sharding 2009-09-01 12:17:41 -04:00
Eliot Horowitz
bcd665877b another name changing checkpoint
config.shard -> config.shards
 config.shard[server] -> config.chunks[shard]
2009-09-01 11:09:43 -04:00
Eliot Horowitz
75e16447a4 starting sharding name cleanup SHARDING-25 2009-08-31 16:31:50 -04:00
dwight
5e31aa0f19 rename
Command addserver->addshard
Collection config.servers->config.shards
2009-08-29 15:08:22 -04:00
Eliot Horowitz
abb40a551d got rid of exit() calls 2009-08-07 15:37:50 -04:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Eliot Horowitz
a3de62485b sharding: object, not array 2009-05-15 13:02:49 -04:00
Eliot Horowitz
0a242467dd Sharding: nice logging, MINOR 2009-04-11 10:27:45 -04:00
Eliot Horowitz
745cfbff47 split locking 2009-03-30 13:28:49 -04:00
Eliot Horowitz
d417bc0802 reload option for getShardManager 2009-03-26 17:33:30 -04:00
Eliot Horowitz
0dc0ff0541 make unserialze take a const BSONObj& 2009-02-27 10:37:13 -05:00
Eliot Horowitz
47d36c761e sharding schema change, some object re-org 2009-02-26 12:01:24 -05:00
Eliot Horowitz
2212fb8974 use ShardKeyPattern 2009-02-26 10:14:50 -05:00
Eliot Horowitz
a49b857887 sharding schema change, put shard key in dbconfig 2009-02-26 09:47:25 -05:00