Commit Graph

61 Commits

Author SHA1 Message Date
gregs
0b2cd79560 auto-reload chunk manager to check version not reset after third staleconfig SERVER-3889 2011-09-30 11:41:17 -04:00
gregs
4d3fdcfc10 fix semantics of the getChunkManager() method, add non-erroring version SERVER-3517 2011-08-09 02:16:54 -04:00
Mathias Stearn
0e20be567e use LOG(x) everywhere in mongos 2011-08-08 19:52:56 -04:00
Mathias Stearn
0045301af9 make less garbage strings 2011-08-08 19:52:56 -04:00
Kristina
9fd0090766 check auth before querying SERVER-3533 2011-08-04 11:35:00 -04:00
Eliot Horowitz
224dc66eb9 correct reloading on stale config request optimization 2011-07-01 10:07:52 -04:00
Eliot Horowitz
a5abf45dfe don't reload entire databae config on a bad config, just the collection 2011-06-29 10:49:30 -04:00
Kristina
9e5a8a53d3 add auth support SERVER-921 2011-06-22 14:22:09 -04:00
Eliot Horowitz
ae0f82093e remove all clientId related code and systems, and just use tls SERVER-2872 2011-03-30 17:04:22 -04:00
Eliot Horowitz
dcd5c777b7 shouldn't be able to use "local" db via mongos SERVER-2590 2011-02-18 16:45:34 -05: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
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
d013407406 moving client class into its own file 2010-12-27 16:27:32 -05:00
Mathias Stearn
b83039e744 be smarter about sleeping 2010-08-04 13:04:49 -04:00
Eliot Horowitz
c1a0ce0228 check all shard connections at once so we don't get cascading failure SERVER-1560 2010-08-03 18:12:04 -04:00
Alberto Lerner
bceacf2544 SERVER-1292 A bit more prep, separate grid.{h,cpp} from config 2010-07-28 14:24:55 -04:00
Eliot Horowitz
380cdd5bf2 handle databases with different cases in mongos SERVER-1443 2010-07-22 15:39:20 -04:00
Eliot Horowitz
f8c35c1d96 treat some stale configs differently SERVER-1430 2010-07-22 12:45:58 -04:00
Eliot Horowitz
49535d34bf make getLastError smarter in a sharded environment 2010-06-02 12:30:08 -04:00
Eliot Horowitz
cc53dee09b LastError cleanup SERVER-1165 2010-05-28 17:07:18 -04:00
Eliot Horowitz
e365deea86 clean up cursors SERVER-1167 2010-05-28 14:23:37 -04:00
Mathias Stearn
ec609581b4 Plug leaks 2010-05-27 16:09:49 -04:00
Eliot Horowitz
ffd977a64c don't leak ChunkManager use - shared_ptr 2010-05-26 12:40:46 -04:00
Dwight Merriman
a190583c51 MutexDebugger 2010-05-26 00:46:49 -04:00
Eliot Horowitz
4bdbf1fc67 use shared_ptr for Chunk references
handle splits on another server during splits SERVER-1109
2010-05-24 17:24:41 -04:00
Aaron
7efe88f445 SERVER-109 multi buffer message 2010-05-12 15:26:00 -07:00
Mathias Stearn
36421f21ca Count multi-insert. SERVER-814 2010-05-05 18:46:15 -04:00
Eliot Horowitz
e0d8e8541d really fix getLastError in mongos SERVER-1039 2010-04-28 15:39:52 -04:00
Eliot Horowitz
92b48ea825 whatsmyuri support for mongos 2010-04-27 16:49:22 -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
Eliot Horowitz
517d8f0277 more serverStatus fields for mongos SERVER-942 2010-04-20 15:05:48 -04:00
Eliot Horowitz
55e8b26481 basic serverStatus for mongos SERVER-942 2010-04-20 12:58:04 -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
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
0fb7289f3a refactoring/cleaning of drop/dropDatabase/removeshard 2009-11-24 17:28:57 -05:00
Dwight
0678cedd5b intermediate buildindex commit 2009-09-24 14:21:40 -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
6d48c89851 cleaning old $eval handling that is smarter now 2009-09-11 13:23:30 -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
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
4a53d46653 Sharding: finish write back on bad shard 2009-04-18 21:55:34 -04:00
Eliot Horowitz
f9a42555bb Sharding: auto splitting working nicely 2009-04-16 10:19:52 -04:00
Dwight
7eed0b9400 compile windows 2009-04-15 10:29:17 -04:00
Eliot Horowitz
7d9eebe983 Sharding: fix part of old config resync 2009-04-12 22:19:41 -04:00