Commit Graph

53 Commits

Author SHA1 Message Date
Mathias Stearn
0e20be567e use LOG(x) everywhere in mongos 2011-08-08 19:52:56 -04:00
gregs
0a3a147ffb test and group slaveok fix for SERVER-3405 2011-07-27 15:59:26 -04:00
agirbal
1388ecbdb7 SERVER-2531: added REDUCE mode for M/R to sharded output collection 2011-06-26 19:00:52 -07:00
agirbal
e40135e5ce SERVER-2531: added support for MERGE mode for M/R with sharded output
Added generic method to do update() to shards
2011-06-21 18:42:47 -07:00
agirbal
ec68f3c6d5 SERVER-2531: added M/R output to shard collection for mode REPLACE 2011-06-13 14:33:38 -07:00
dwight
8a0660ac31 use firstElementFieldName() 2011-05-23 20:03:19 -04:00
Eliot Horowitz
f8cb1e292c test for SERVER-2961 and comment 2011-04-19 17:46:33 -04:00
Eliot Horowitz
157ab952e5 don't use ShardConnection for getMore SERVER-2961
test forthcoming
2011-04-19 16:40:23 -04:00
Mathias Stearn
98ce522157 support commands wrapped with $query SERVER-2474 2011-04-05 15:16:18 -04:00
Mathias Stearn
af792b8010 Support commands like {query: {isMaster: 1}} in mongos SERVER-2474 2011-04-04 18:17:21 -04:00
Eliot Horowitz
ed2b128e5d fix SlaveOk getMore with replica sets for non sharded collections SERVER-2482 2011-02-05 17:52:37 -05:00
Eliot Horowitz
feb971d07c cleaning sharding curop a bit - prep for SERVER-2356 2011-01-25 01:00:51 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
82cf5dc7a9 fix exception handling in mongos 2010-12-29 00:52:03 -05:00
Eliot Horowitz
6e7c9d6836 make sure mongod and mongos report command errors the same way SERVER-1472 2010-07-27 00:57:38 -04:00
Eliot Horowitz
10e4067b4b framework for retrying commands because data out of sync SERVER-1471 2010-07-23 10:51:48 -04:00
Eliot Horowitz
6048738ac9 raw methods for talking to db
fix sync cluster connection getMore
2010-07-21 14:12:32 -04:00
Mathias Stearn
fe2bd79dcb Stop forwarding unknown commands SERVER-1447 2010-07-20 13:54:31 -04:00
dwight
46542f495c cleaning 2010-07-18 13:34:16 -04:00
Alberto Lerner
daf8c0fbd0 Revert "SERVER-1270 Prep for hooking StringData"
This reverts commit b7c9a9fc57.
2010-07-17 16:07:38 -04:00
Alberto Lerner
b7c9a9fc57 SERVER-1270 Prep for hooking StringData 2010-07-17 14:33:17 -04:00
Eliot Horowitz
08b84d822c don't allow fsync+lock/unlock through mongos fsync by itselfis ok SERVER-932 2010-07-14 16:30:55 -04:00
Eliot Horowitz
66f8e416da killOp and currentOp work sharded SERVER-931 2010-07-14 15:49:21 -04:00
Mathias Stearn
682a7d7148 Only need to insert the index once per shard, not once per chunk 2010-06-30 20:33:58 -04:00
Alberto Lerner
105ab908e4 SERVER-1185 A bit of prep-ing before the actual changes 2010-06-30 20:23:38 -04:00
Eliot Horowitz
a71cc3cd4b cleaning exceptions 2010-06-21 13:41:34 -04:00
Eliot Horowitz
e365deea86 clean up cursors SERVER-1167 2010-05-28 14:23:37 -04:00
Eliot Horowitz
ffd977a64c don't leak ChunkManager use - shared_ptr 2010-05-26 12:40:46 -04:00
Eliot Horowitz
ecec906288 fix connection pooling a bit 2010-05-20 13:36:29 -04:00
Mathias Stearn
36421f21ca Count multi-insert. SERVER-814 2010-05-05 18:46:15 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
a19e992925 use Shard class instead of string for passing around Shards 2010-04-27 12:32:59 -04:00
Dwight
9f7f0be204 hmmm 2010-04-20 15:41:47 -04:00
Eliot Horowitz
55e8b26481 basic serverStatus for mongos SERVER-942 2010-04-20 12:58:04 -04:00
Eliot Horowitz
8afdf52bad Shard abstraction 2010-04-19 16:55:16 -04:00
Eliot Horowitz
d72a7fcfca sharding: allow unique indexes if key is more specific than shard key SERVER-917 2010-04-15 10:59:13 -04:00
Eliot Horowitz
0a1bed6f5e better assert 2010-04-12 10:57:58 -04:00
Richard Kreuter
b96e4b2976 Add license headers to .cpp & .h files that lacked them. MINOR 2010-02-09 16:48:21 -05:00
Eliot Horowitz
ea6189d491 some command cleaning 2010-01-20 14:02:14 -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
90eceb3c91 ensureing index on _id shouldn't cause an error 2009-10-29 16:14:43 -04:00
Eliot Horowitz
47a7238303 claener command output for sharding 2009-09-10 13:09:26 -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
Eliot Horowitz
68b84b3f77 Sharding: implement count() correctly for sharded environment 2009-04-22 15:58:12 -04:00
Eliot Horowitz
77c6ea6148 Sharding: fix command path MINOR 2009-04-21 14:31:30 -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
00eb714709 sharding query work - works of only need 1 server 2009-02-21 23:39:41 -05:00
Eliot Horowitz
5f6aa4f67d insert shard checkpoint 2009-02-20 10:46:42 -05:00