0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00
Commit Graph

327 Commits

Author SHA1 Message Date
Mathias Stearn
19732ca8f9 better handling of sharded upserts. SHARDING-72
more update fixes coming after 1.3.1
2010-01-19 21:14:01 -05:00
Eliot Horowitz
1ba0144d4f when scanning serially, if a chunk had no results, stopped prematurely SHARDING-71 2010-01-15 01:27:01 -05:00
Eliot Horowitz
dd742c42fe some more debugging for sharding MINOR 2010-01-14 10:41:41 -05:00
Mathias Stearn
8740d9fc5d Make sharded upserts work if shard key is in query 2010-01-05 21:27:41 -05:00
Dwight
4d8a09b25a cleanup comments prepwork for some repl improvements 2010-01-04 11:15:09 -05:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
unknown
84d1ca75f7 SERVER-255 lock on fsync for snapshotting
will be doc'd later today
2010-01-02 11:01:47 -05:00
Dwight
b88f54e219 compile windows (vcproj) 2009-12-30 11:59:54 -05:00
dwight
6f4bfb2e14 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	SConstruct
	db/dbinfo.h
2009-12-29 13:45:46 -05:00
dwight
24e2542d95 remove dbinfo.h/cpp 2009-12-29 13:42:45 -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
55744fd04c short circuit if not in sharded mode 2009-12-27 00:41:39 -05:00
Eliot Horowitz
e8e4fd2d3c comment 2009-12-23 15:57:32 -05:00
Mathias Stearn
200a68a1ff Removing unused functions 2009-12-15 15:38:25 -05:00
Mathias Stearn
eba078d053 Get rid of compareValues 2009-12-14 17:06:29 -05:00
Eliot Horowitz
eed9fe77cd win compile 2009-12-14 09:56:24 -05:00
Eliot Horowitz
a74353b6f1 debugging 2009-12-10 10:46:41 -05:00
Mathias Stearn
28141877ee Remove ill-planned nested/dotted split. Keep everything dotted. 2009-12-09 18:57:19 -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
a3a7634e3c cleaning and comment 2009-12-08 20:54:27 -05:00
Eliot Horowitz
dd8758ab74 mongos compile 2009-12-03 20:49:49 -05:00
Eliot Horowitz
6569d4e815 new master version numbers 2009-12-03 15:27:19 -05:00
Eliot Horowitz
03e3c49ebe sharded dropDatabase SHARDING-53 2009-12-02 16:36:46 -05:00
Eliot Horowitz
49b59721c4 add "ok" to commands result 2009-12-01 16:25:12 -05:00
Mathias Stearn
d538c3c8b4 fix broken test. MINOR 2009-11-30 17:27:52 -05:00
Dwight
25bb636eb4 some initial visual studio 2010 support 2009-11-30 12:09:39 -05:00
Mathias Stearn
09bd20c7a6 fail early with compound shard keys 2009-11-24 23:09:44 -05:00
Eliot Horowitz
0fb7289f3a refactoring/cleaning of drop/dropDatabase/removeshard 2009-11-24 17:28:57 -05:00
Eliot Horowitz
a46dbe3dae getShardVersion in mongos - diagnostic tools 2009-11-24 15:24:41 -05:00
Eliot Horowitz
7bb0b670e6 fix error message 2009-11-24 13:56:41 -05:00
Eliot Horowitz
c7fb263e1a assert when no shards SHARDING-54 2009-11-19 21:49:25 -05:00
Eliot Horowitz
daaa53c4c5 fix sharding on _id when _id is missing SHARDING-55 2009-11-19 21:42:46 -05:00
Dwight
37540835ac compile visual studio 2009-11-16 15:55:03 -05:00
Eliot Horowitz
62ff89ad69 post 1.1.3 markers 2009-11-10 11:48:16 -05:00
Eliot Horowitz
aa8b12e13f BUMP 1.1.3 2009-11-10 11:00:43 -05:00
Eliot Horowitz
c04ee7b281 fix streaming from chunks with bad data
change migrate semantics: will now remove data in range migrating to
SHARDING-20 SHARDING-32
2009-11-09 17:08:25 -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
820c8e8db3 can move last chunk off of a server SHARDING-32 SHARDING-28 2009-11-06 13:57:01 -05:00
Mathias Stearn
901abe74eb cleanup 2009-11-05 16:59:48 -05:00
Mathias Stearn
9fcf4ba1ef Support embedded fields for shard keys. SHARDING-48
Needs more testing.
2009-11-04 15:06:36 -05:00
Mathias Stearn
19863b852e Chunk dotted support 2009-11-04 15:06:36 -05:00
Mathias Stearn
6e135afa26 Constify Chunk::getMin and getMax 2009-11-04 15:06:36 -05:00
Mathias Stearn
305ebbe329 Use default copy constructor for ShardKeyPattern 2009-11-04 15:06:36 -05:00
Eliot Horowitz
bdbd9143ed parallel sharded map/reduce 2009-11-03 22:56:49 -05:00
Eliot Horowitz
9871eb3591 sharded m/r timers 2009-11-03 21:28:27 -05:00
Mathias Stearn
6f7d89b01a use gdb trampoline in mongos 2009-11-03 16:39:55 -05:00
Eliot Horowitz
18e7e48ebd stats for sharded map/reduce SHARDING-37 2009-11-03 14:44:41 -05:00
Eliot Horowitz
05712a3965 fix mac 64-bit 2009-11-03 12:13:42 -05:00
Eliot Horowitz
6d5e43755d sharded map-reduce basic test works SHARDING-37 2009-11-03 11:40:00 -05:00
Eliot Horowitz
3a1c9831c1 some sharded query re-factoring 2009-11-03 10:35:48 -05:00
Eliot Horowitz
ac11d739e1 use CmdLine for port 2009-11-02 16:52:16 -05:00
Eliot Horowitz
2878fc0b5e fix sharded multi-update and test 2009-10-30 15:52:54 -04:00
Eliot Horowitz
90eceb3c91 ensureing index on _id shouldn't cause an error 2009-10-29 16:14:43 -04:00
Eliot Horowitz
fdcff3645e more work on various shard key types, an update fix 2009-10-29 16:07:06 -04:00
Eliot Horowitz
c423f4cb6f better error reporting on media failure 2009-10-29 11:59:27 -04:00
Eliot Horowitz
29f1a9fa2f small chunk fix MINOR 2009-10-28 13:41:38 -04:00
Eliot Horowitz
2447360d90 fix sharded remove SHARDING-45 2009-10-27 11:35:19 -04:00
Eliot Horowitz
d70e410089 cleaning 2009-10-27 11:34:53 -04:00
Eliot Horowitz
e48db1f60a replace cerr with cout for all server files 2009-10-16 11:39:59 -04:00
Dwight
2d934d1006 move curNs to Client object 2009-10-13 16:01:02 -04:00
Eliot Horowitz
c628c7b93f don't allow shards on localhost unless allowLocal : true SHARDING-47 2009-10-12 13:27:04 -04:00
Dwight
1b508836b5 link visual studio base64 2009-10-01 10:10:02 -04:00
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