Commit Graph

55 Commits

Author SHA1 Message Date
Mathias Stearn
e0391514a8 in-place serverNameCompare 2011-08-08 19:52:56 -04:00
gregs
cc43fc3e4a change command api to allow command options SERVER-3405 2011-07-27 15:59:27 -04:00
Eliot Horowitz
20a0374718 expose ReplicaSetMonitor stats
SERVER-3487
2011-07-26 18:07:29 -04:00
Eliot Horowitz
68e0ade105 fix connection pooling with socket timeouts 2011-07-12 13:48:20 -04:00
gregs
436a4edd9f add client socket timeout option SERVER-3220 2011-06-13 19:43:38 -04:00
Eliot Horowitz
8d009017c9 onDestry hook for connection pool 2011-05-19 14:23:06 -04:00
Eliot Horowitz
fa07a30464 timeout connections idle for 30 minutes 2011-05-17 14:23:18 -04:00
Eliot Horowitz
13eb4fc7ad fix connPoolStats race condition SERVER-3043 2011-05-05 08:38:14 -04:00
Eliot Horowitz
11bb6c6cae shutdown safety 2011-04-21 14:57:44 -04:00
Eliot Horowitz
676db17f51 standards compliant and leak a list on shutdown to avoid race condition SERVER-2704 2011-03-17 14:50:38 -04:00
Eliot Horowitz
b20e61fe65 cap connections in connection pool stack SERVER-2687 180 2011-03-05 18:11:04 -05:00
Eliot Horowitz
fd36dc975e better exception 2011-01-25 02:02:37 -05:00
Mathias Stearn
371e0b3b57 more windows fixes 2011-01-18 19:55:11 -05:00
Mathias Stearn
d4c9571a5a Fix windows build by using consistent map type 2011-01-18 19:43:55 -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
28b1cff00d track pooled connections by type 2010-12-02 00:29:34 -05:00
Eliot Horowitz
9a55939da3 fix warning 2010-11-28 23:42:19 -05:00
Eliot Horowitz
255040094f more connection debugging 2010-11-28 15:48:54 -05:00
Eliot Horowitz
a639200e21 keep track of number of DBClientConnection objects 2010-11-28 11:33:00 -05:00
Eliot Horowitz
03a596e18b timeout connections idle in pool after an hour SERVER-1731 2010-09-13 01:50:05 -04:00
Eliot Horowitz
22f5633e2d cleaning connection pool up a bit in prep for SERVER-1731 2010-09-13 01:40:29 -04:00
Eliot Horowitz
a462a8af4c can set connection pool error name so can easily differentiate mongos from mongod 2010-09-10 14:27:22 -04:00
Alberto Lerner
7a7cc4adfa SERVER-1452 StringData-ing up, c_str()-ing down 2010-08-18 18:12:31 -04:00
Aaron
5cfa013077 SERVER-1461 auth when getting remote authlog info 2010-08-16 13:59:08 -07:00
Eliot Horowitz
12aa34d0fa centralize connection url parsing SERVER-1319 2010-07-30 11:20:33 -04:00
Eliot Horowitz
05de6bdacb more work on ConnectionString SERVER-1319 2010-07-01 01:00:21 -04:00
Mathias Stearn
0d9a05bce3 Close connections in pool on shutdown 2010-05-27 17:29:13 -04:00
Mathias Stearn
ec609581b4 Plug leaks 2010-05-27 16:09:49 -04:00
Eliot Horowitz
ecec906288 fix connection pooling a bit 2010-05-20 13:36:29 -04:00
Eliot Horowitz
a48c830de9 Command::run gets "test" not "test.$cmd" 2010-05-03 16:25:34 -04:00
Eliot Horowitz
f68e9e0235 fix ScopedDBCOnnectionleak SERVER-1077 2010-05-03 08:48:15 -04:00
Eliot Horowitz
0d7e6b4913 connPoolStats 2010-04-28 23:59:24 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
01f0820253 fix DBClientCursor ownership of ScopedDBConnection SERVER-1048 2010-04-26 00:05:10 -04:00
Dwight
bd8a3e9527 more /_commands 2010-04-23 16:41:56 -04:00
Dwight
837fd2cd86 /_commands in the http interface 2010-04-23 15:50:49 -04:00
Dwight
8c0333345a first pass at making replication more realtime 2010-03-26 14:37:31 -04:00
Eliot Horowitz
1e6780f844 can use sharding with SyncClusterConnection for 2 phase commit across 3 servers SHARDING-39 2010-03-22 11:47:37 -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
a347ce9b85 change Command locking config 2010-02-26 14:38:51 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Dwight
a3670180a9 minor missing space 2009-10-14 16:41:23 -04:00
Eliot Horowitz
6d95f3cd1c onHandedOut 2009-09-14 11:33:20 -04:00
Eliot Horowitz
4040d9799f add hooks for connection pool 2009-09-11 16:10:48 -04:00
Eliot Horowitz
b32c181aac use stack instead of queue for keeping connections so you get the same one in a single threaded env. 2009-03-30 09:47:58 -04:00
Eliot Horowitz
601bc1d866 log(2) when create a new connection for pooling 2009-03-29 22:52:17 -04:00
Eliot Horowitz
a2d079b4e8 method and command to flush all pooled connections 2009-02-20 16:39:55 -05:00
dwight
9590e60f21 repl pairs support in conn pool 2009-02-07 09:21:29 -05:00