0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
Commit Graph

222 Commits

Author SHA1 Message Date
Eliot Horowitz
f0e44b2907 use new append(Min|Max)Key 2009-08-11 04:55:35 -04:00
Eliot Horowitz
abb40a551d got rid of exit() calls 2009-08-07 15:37:50 -04:00
Eliot Horowitz
488086994c inShutdown() method so spider monkey can shutdown cleanly 2009-08-05 17:15:04 -04:00
Eliot Horowitz
79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Dwight
e84e62cc53 sharding: fix what looks like a bug in largestElementForKey (which actually may not be used currently anyway) 2009-08-04 13:03:10 -04:00
Dwight
733ba1e11d first cut off NumberLong (64 bit ints) in BSON 2009-08-03 14:16:49 -04:00
Eliot Horowitz
f4f1291e08 FieldMathcer::getSpec 2009-07-01 15:33:03 -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
Dwight
c7c77aee1a make old vcproj include assert_util.cpp 2009-06-08 17:28:11 -04:00
Eliot Horowitz
5514c49e39 make lognoquiet and make --quit not print connect/disconnect 2009-06-05 10:35:04 -04:00
Eliot Horowitz
d7889fb311 Sharding: save() support SHARDING-17 2009-06-04 08:49:06 -04:00
Dwight
787dc49f9d fix mongos in vcproj to compile for release build - visual studio 2009-05-28 13:09:48 -04:00
Dwight
df348ee066 fix assert macro definition after a boost include (ugly at the moment) 2009-05-15 17:27:31 -04:00
Eliot Horowitz
a3de62485b sharding: object, not array 2009-05-15 13:02:49 -04:00
Eliot Horowitz
87cd9dac9f compile mongos 2009-05-14 16:57:57 -04:00
Dwight
a57430b399 some fixes for Release build with vcproj to make it build in general,
and for spidermonkey
2009-05-13 14:09:42 -04:00
Aaron
691629143c adjust dependencies MINOR 2009-05-11 15:09:30 -04:00
Eliot Horowitz
2d12856284 Sharding: get rid of ShardKey::middle 2009-05-06 12:34:22 -04:00
Dwight
b2a3fc9fb8 just comments MINOR 2009-04-27 11:20:47 -04:00
Eliot Horowitz
fd5f1ecb09 Merge branch 'master' of git@github.com:mongodb/mongo 2009-04-23 18:07:43 -04:00
Dwight
9a3a7f3c88 tiny beginnings for compound ShardKeyPattern 2009-04-23 15:40:00 -04:00
Dwight
ed0065fff2 visual studio happy 2009-04-23 14:31:40 -04:00
Eliot Horowitz
0bbf65ae8f Merge branch 'master' of git@github.com:mongodb/mongo 2009-04-22 16:46:43 -04:00
Eliot Horowitz
68b84b3f77 Sharding: implement count() correctly for sharded environment 2009-04-22 15:58:12 -04:00
Eliot Horowitz
676fb4ea3c Sharding: fix countObjects, some docs MINOR 2009-04-22 15:56:23 -04:00
Eliot Horowitz
1bb94684f5 Sharding: rename commands.cpp commands_admin.cpp 2009-04-22 13:36:29 -04:00
Eliot Horowitz
9afc7f05f8 Sharding: version 0.0.2 2009-04-21 20:52:49 -04:00
Eliot Horowitz
5113d30da5 Sharding: make ismaster return ismaster=1 2009-04-21 20:12:58 -04:00
Eliot Horowitz
c40ad9f56e Sharding: fix startFrom 2009-04-21 20:12:41 -04:00
Mike Dirolf
904088e131 add 'ok' field to ismaster and isdbgrid commands 2009-04-21 15:11:29 -04:00
Mike Dirolf
f43721ad57 trailing whitespace 2009-04-21 15:08:20 -04:00
Eliot Horowitz
77c6ea6148 Sharding: fix command path MINOR 2009-04-21 14:31:30 -04:00
Eliot Horowitz
b999749360 Sharding: remove special case for single server since it falls down on certain cases.
and a small cursor bug fix
2009-04-21 10:10:30 -04:00
Eliot Horowitz
71727701e5 Sharding: move empty shards on a split 2009-04-20 17:42:01 -04:00
Dwight
2a64bca3e2 compile windows 2009-04-20 09:16:47 -04:00
Eliot Horowitz
4a53d46653 Sharding: finish write back on bad shard 2009-04-18 21:55:34 -04:00
Eliot Horowitz
5da75cb8f4 Sharding: much of bad config writeback working 2009-04-17 17:11:32 -04:00
Eliot Horowitz
f9a42555bb Sharding: auto splitting working nicely 2009-04-16 10:19:52 -04:00
Eliot Horowitz
016013f756 cleaning split() 2009-04-15 22:36:33 -04:00
Eliot Horowitz
d7b7217349 Shard::getPhysicalSize() 2009-04-15 22:26:19 -04:00
Dwight
7eed0b9400 compile windows 2009-04-15 10:29:17 -04:00
Eliot Horowitz
4000e64db8 fixed other resync case 2009-04-13 10:47:55 -04:00
Eliot Horowitz
7d9eebe983 Sharding: fix part of old config resync 2009-04-12 22:19:41 -04:00
Eliot Horowitz
0a242467dd Sharding: nice logging, MINOR 2009-04-11 10:27:45 -04:00
Eliot Horowitz
8b0ad1c0f4 logging 2009-04-10 10:41:35 -04:00
Eliot Horowitz
52dbf5b3e1 Sharding: resync on stale shard config 2009-04-07 15:19:27 -04:00
Eliot Horowitz
d3d1c28411 Sharding: fix command logic 2009-04-07 13:22:12 -04:00
Eliot Horowitz
2708ec75ff Sharding: error on count for sharded collection until i fix it 2009-04-07 12:18:40 -04:00
Eliot Horowitz
c30e80145e Sharding: moveshard now is mulit-mongos safe 2009-04-06 16:31:09 -04:00
Eliot Horowitz
6b49e60fe5 implemented moveshard.(start|finish) in mongod 2009-04-06 15:57:17 -04:00
Eliot Horowitz
74bb4f6029 moveshard cleaning checkpoint 2009-04-03 16:46:48 -04:00
Eliot Horowitz
7b8881ffab refactor locking 2009-04-03 14:21:00 -04:00
Eliot Horowitz
5d81abc690 cleaning moveshard 2009-04-03 13:52:06 -04:00
Eliot Horowitz
ec376d5781 remove unused variable 2009-04-02 17:26:36 -04:00
Eliot Horowitz
1f2bab33e8 fix BSONObj ownership 2009-04-02 15:43:53 -04:00
Eliot Horowitz
fac9fcc1a1 smarter about how to split a shard
if one side is either MIN or MAX, takes all the data and puts in one
   otherwise splits on the median value
2009-03-30 17:13:55 -04:00
Eliot Horowitz
160d0b7201 cleaning split 2009-03-30 14:33:40 -04:00
Eliot Horowitz
745cfbff47 split locking 2009-03-30 13:28:49 -04:00
Eliot Horowitz
22cd9cc2e5 better checkShardVersion 2009-03-30 10:50:10 -04:00
Eliot Horowitz
1914c3933d note conn address is debug msg 2009-03-30 09:48:15 -04:00
Eliot Horowitz
7af502f1c6 sharding w version numbers checkpoint 2009-03-27 16:55:26 -04:00
Aaron
07dfc6bb3a Merge branch 'master' of git@github.com:mongodb/mongo 2009-03-26 18:37:49 -04:00
Eliot Horowitz
d417bc0802 reload option for getShardManager 2009-03-26 17:33:30 -04:00
Eliot Horowitz
d58828ebb0 allow "raw" clients - better messags 2009-03-26 17:32:25 -04:00
Aaron
0dc74b1fe0 Merge branch 'master' of git@github.com:mongodb/mongo 2009-03-25 18:47:25 -04:00
Dwight
bd9185a9ca Merge branch 'master' of git@github.com:mongodb/mongo 2009-03-25 17:38:14 -04:00
Eliot Horowitz
26ad67b9c7 shard versioning checkpoint 2009-03-25 17:35:38 -04:00
Dwight
b2b5506629 remind people at startup that there is a web admin interface 2009-03-25 17:30:30 -04:00
Aaron
7ba4140d5c Add $size query option 2009-03-25 14:47:04 -04:00
Eliot Horowitz
648633218d name cleaning 2009-03-23 16:42:18 -04:00
Dwight
3426f0e8c7 clean up warnings on windows 2009-03-23 13:12:47 -04:00
Aaron
3c2196420e Merge branch 'master' of git@github.com:mongodb/mongo 2009-03-19 16:23:19 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Dwight
3a5aef6756 fix a btree reuse key case
and clean up code a little
2009-03-19 11:17:16 -04:00
Dwight
86ce9e5d41 compile windows/visual studio 2009-03-19 10:33:35 -04:00
Aaron
4c52e5e6dd Print os information on startup 2009-03-18 14:15:52 -04:00
Eliot Horowitz
5b4285aa55 need to be authorative on first access 2009-03-18 10:51:04 -04:00
Eliot Horowitz
c13f00e195 fix error message 2009-03-17 22:42:35 -04:00
Eliot Horowitz
56d11945a3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-03-17 17:25:24 -04:00
Eliot Horowitz
affd92783f making mongod sharding aware 2009-03-17 17:25:10 -04:00
Dwight
7165d7369e implemented dropIndexes for alt rec store 2009-03-17 17:02:21 -04:00
Eliot Horowitz
5cd0f0e376 get version on startup 2009-03-17 10:22:26 -04:00
Eliot Horowitz
2a1c3b1492 get rid of Model::defaultServer since its not being used and complicates some things 2009-03-12 17:12:24 -04:00
Eliot Horowitz
d02951083c sharding version management for mongod 2009-03-11 17:28:49 -04:00
Dwight
712673263b no --infer anymore 2009-03-11 13:49:54 -04:00
Eliot Horowitz
74ab32161e lastmod for shards, using timestamp stuff 2009-03-09 16:06:19 -04:00
Dwight
8431f60b10 shardkey lt gt query support 2009-03-06 13:12:00 -05:00
Dwight
a039cf7ec7 compile windows 2009-03-03 16:06:57 -05:00
Eliot Horowitz
474d2c0d24 switch mongos to use MessageServer
use boost asio if it exists on the system
2009-03-02 13:35:34 -05:00
Eliot Horowitz
c1207fddd5 use AbstractMessagingPort 2009-03-01 23:43:00 -05:00
dwight
d9ceecba23 comments 2009-02-28 09:38:41 -05:00
Aaron
5c38fa8e4c Add const 2009-02-27 17:32:27 -05:00
Eliot Horowitz
cedd4f0008 better debugging 2009-02-27 14:23:52 -05:00
Eliot Horowitz
a9b57c9d59 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-27 12:52:04 -05:00
Eliot Horowitz
dfe0cff308 lastmod 2009-02-27 12:51:49 -05:00
Dwight
46f957313c test relevantForQuery 2009-02-27 11:14:05 -05:00
Dwight
ad725ff5c2 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-27 11:05:04 -05:00
Dwight
5a261ed678 new shardkey implementation (first pass) 2009-02-27 11:04:36 -05:00
Eliot Horowitz
0dc0ff0541 make unserialze take a const BSONObj& 2009-02-27 10:37:13 -05:00