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

263 Commits

Author SHA1 Message Date
Dwight
04515195f8 fix compile windows 2009-09-30 15:23:56 -04:00
Dwight
0678cedd5b intermediate buildindex commit 2009-09-24 14:21:40 -04: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
2cab899cb4 version numbers 2009-09-15 02:43:53 -04:00
Eliot Horowitz
b7a242602a BUMP 1.1.0 2009-09-14 16:13:47 -04:00
Eliot Horowitz
78bfd73520 writeback fix and making sure all connection pools are cleaned up 2009-09-14 14:32:24 -04:00
Eliot Horowitz
3b5b0caee9 getLastError sharded SHARDING-16 2009-09-14 11:33:42 -04:00
Eliot Horowitz
d331919eb3 distinct() for sharded collection SHARDING-35 2009-09-12 13:01:34 -04:00
Eliot Horowitz
335d92c443 client id work and make getLastError work non sharded-collections in sharding, but with connection pooling SHARDING-16 2009-09-11 16:14:14 -04:00
Eliot Horowitz
6d48c89851 cleaning old $eval handling that is smarter now 2009-09-11 13:23:30 -04:00
Eliot Horowitz
47a7238303 claener command output for sharding 2009-09-10 13:09:26 -04:00
Eliot Horowitz
29548da4c4 strict compile for windows MINOR 2009-09-10 10:41:17 -04:00
Eliot Horowitz
bbc07f85ec don't allow db.eval on sharded collections SHARDING-27 2009-09-10 10:36:11 -04:00
Eliot Horowitz
b9d61d202c sharding config db versioning SHARDING-33 2009-09-10 00:39:30 -04:00
Eliot Horowitz
c53e909ced cleaning and don't allow group on a sharded collection SHARDING-26 2009-09-04 11:00:43 -04:00
Eliot Horowitz
467dc24e82 generic way to handle commands not allowed on sharded collections 2009-09-04 10:24:32 -04:00
Eliot Horowitz
6adeb37012 don't allow sharding + capped SHARDING-23 2009-09-03 17:19:32 -04:00
Eliot Horowitz
08489a2b42 unique shard key support SHARDING-31 2009-09-03 16:48:34 -04:00
Eliot Horowitz
644df81d21 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-01 17:29:39 -04:00
Eliot Horowitz
1b344adf4b can't shard a collection with a unique index SHARDING-24 2009-09-01 17:28:58 -04:00
Dwight
e5fb018121 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-01 16:39:01 -04:00
Eliot Horowitz
cff5abd2f1 sharding indexing fix part1
- inserts to system.indexes need to go to all shards
  - can't create unique index on sharded collection SHARDING-24
2009-09-01 16:30:20 -04:00
Dwight
7172529835 some help for commands 2009-09-01 16:23:56 -04:00
Dwight
777c1883c3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-01 16:03:41 -04:00
Dwight
10fc695870 small help text change 2009-09-01 16:03:23 -04:00
Eliot Horowitz
7c11076e73 can't shard system namespaces 2009-09-01 15:59:19 -04:00
Eliot Horowitz
7e03b602ec version number 2009-09-01 14:07:47 -04:00
Eliot Horowitz
7ac635188e make sure new shards are valid SHARDING-29 2009-09-01 14:06:50 -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
Eliot Horowitz
7a3868c91a change mongos version number 2009-08-30 17:05:51 -04:00
dwight
436f29bf1c Merge branch 'master' of git@github.com:mongodb/mongo 2009-08-30 11:23:22 -04:00
dwight
6d6f8d5bf7 rename some sharding commands. 2009-08-30 11:22:58 -04:00
Eliot Horowitz
bc7eeba54e better error message MINOR 2009-08-29 23:49:53 -04:00
dwight
5e31aa0f19 rename
Command addserver->addshard
Collection config.servers->config.shards
2009-08-29 15:08:22 -04:00
unknown
0e69584eeb compile windows db.sln 2009-08-28 15:18:15 -04:00
Dwight
2226f3292b very minor text / comments 2009-08-27 15:26:29 -04:00
Dwight
879e7b153e more CmdLine object 2009-08-25 14:35:22 -04:00
Aaron Staple
9fd0168eff SERVER-100 checkpoint field range organization improvements 2009-08-11 16:43:30 -04:00
Eliot Horowitz
2b0dbe323d don't optimize field set for sharding internals 2009-08-11 04:58:54 -04:00
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