Commit Graph

33 Commits

Author SHA1 Message Date
gregs
db033b9c7e don't hide first connection warning for shards 2011-07-12 11:25:22 -04:00
gregs
958e539327 supress sharded sub-connection warning for getLastError() 2011-07-12 10:58:42 -04:00
gregs
b5737916a7 only check shard version on 'top-level' shard connections SERVER-3926 2011-06-21 19:25:03 -04:00
Eliot Horowitz
0b689c83e8 don't unset sharding state when a shard connection is done
more prep for SERVER-1714
2011-05-19 14:23:06 -04:00
Eliot Horowitz
6e01775d25 make ShardConnection::sync as simple as needed 2011-05-19 11:22:01 -04:00
Eliot Horowitz
4f9ae84652 prep for multiplexing connections between mongos and mongod more effectively 2011-05-18 17:36:55 -04:00
Eliot Horowitz
c4f528bbe1 typo 2011-05-18 11:09:03 -04:00
Eliot Horowitz
51b77743b1 nicer error message when shard goes away SERVER-2543 2011-02-18 10:49:31 -05:00
Eliot Horowitz
64e39098c4 writeback listener handles replica sets correctly SERVER-2540 2011-02-12 14:48:35 -05:00
Eliot Horowitz
c104467d2d reset shard version on a bad connection close so we don't re-use pointer state unsafely 2011-01-26 13:34:43 -05:00
Mathias Stearn
85f4700e91 even more windows fixes 2011-01-18 20:02:48 -05:00
Eliot Horowitz
33d8cd8302 handle sharded+rs get last error when replica set config may change during op 2011-01-18 13:49:19 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
24e69084c3 typo 2010-10-17 22:29:04 -04:00
Alberto Lerner
a6b0eee2c0 SERVER-1822 dedup check/resetShardVersion and kill s/d_util.cpp 2010-10-01 13:28:19 -04:00
Eliot Horowitz
4487eaf5c9 better handling of closing shard clients if underlying shard connection has died SERVER-1747 2010-09-07 13:51:43 -04:00
Eliot Horowitz
ebc391a645 don't clean up sharding hooks when closing connections during shutdown, not needed since all will go away 2010-09-07 13:01:06 -04:00
Alberto Lerner
0dd9c00ad2 ClientConnection has one instance per thread. Eliminating additional synchronization. 2010-08-06 14:14:25 -04:00
Eliot Horowitz
33b7eb758b when access namespace for the first time, prep all connections SERVER-1560 2010-08-04 10:11: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
Eliot Horowitz
96913b2329 make connection versions thread safe and reset when put in pool 2010-07-25 11:32:15 -04:00
Eliot Horowitz
b8bef176d7 when handed a ShardConnection back to global pool - reset sharding state 2010-07-25 08:33:03 -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
4020fc6acb fix connection leak on checkShardVersion failure 2010-07-15 11:35:18 -04:00
Eliot Horowitz
2498228f41 workong on moving migrate to mongod, cleaning, and version fixing
SERVER-1319 SERVER-933
2010-07-01 17:44:13 -04:00
Mathias Stearn
42721e32cb Make ShardConnection more like ScopedDBConnection 2010-05-27 16:33:20 -04:00
Mathias Stearn
ec609581b4 Plug leaks 2010-05-27 16:09:49 -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
Eliot Horowitz
ecec906288 fix connection pooling a bit 2010-05-20 13:36:29 -04:00
Eliot Horowitz
9d0b0f2197 wrong error 2010-05-19 17:12:25 -04:00
Eliot Horowitz
7e49e9b226 remnove debugging 2010-05-19 17:07:46 -04:00
Eliot Horowitz
29130d0c12 make client -> mongod connection static SERVER-956 2010-05-19 17:01:09 -04:00