Kyle Banker
|
f668678fd1
|
Store sockets in thread-local variables when possible.
Allow connection pools to grow if needed. All this minimizes
the number of locks required and reduces the waiting time
for these locks.
|
2011-11-03 18:37:23 -04:00 |
Kyle Banker
|
a5373ddb83
|
Initial decoupling of Connection, ReplSetConnection,
and networking code.
|
2011-11-02 18:00:52 -04:00 |
Kyle Banker
|
f98c1099dc
|
Ensure we pass pool timeout to pool.
|
2011-11-02 15:21:46 -04:00 |
Kyle Banker
|
d171f75bb0
|
Don't copy manager data.
|
2011-11-02 15:16:40 -04:00 |
Kyle Banker
|
045a556e99
|
minor: test fix
|
2011-10-17 15:09:54 -05:00 |
Kyle Banker
|
7a11bb18a9
|
Ensure that cursor requiring getmore ops will not
be affected by replica set refresh.
Prep for sending commands to secondaries.
|
2011-10-17 14:41:09 -04:00 |
Kyle Banker
|
1001e59e44
|
minor: test framework fixes; minor bug fixes
|
2011-10-13 17:58:20 -04:00 |
Kyle Banker
|
118cb18c33
|
Removed a completely unnecessary mutex.
|
2011-10-07 12:13:18 -04:00 |
Kyle Banker
|
83eaa4d51b
|
Replica Set connection improvements for refresh and multi-threaded apps.
|
2011-09-13 17:50:01 -04:00 |
Kyle Banker
|
e678bac75e
|
RUBY-306 clean up logging.
|
2011-09-07 17:14:53 -04:00 |
Kyle Banker
|
1c439df278
|
RUBY-312 Enable exhaust-mode queries.
|
2011-09-07 10:02:10 -04:00 |
Kyle Banker
|
50c38c6c6b
|
RUBY-284 document :read API
|
2011-09-06 14:58:03 -04:00 |
Kyle Banker
|
5d83ab2460
|
RUBY-313 minor: deprecation warning should include removal version.
|
2011-09-06 14:30:00 -04:00 |
Kyle Banker
|
046038e18d
|
RUBY-297 when possible, include error codes and
return objects in exception classes.
|
2011-09-06 14:22:50 -04:00 |
Kyle Banker
|
45c40e7267
|
RUBY-320 RUBY-284 initial cascading read API. Mapping sockets to pools.
|
2011-08-29 17:49:58 -04:00 |
Kyle Banker
|
f00c0dfcf0
|
RUBY-316 initial SSL support
|
2011-08-26 17:35:40 -04:00 |
Kyle Banker
|
3c127984a3
|
RUBY-242 check BSON size on a per-connection basis.
|
2011-08-25 14:57:24 -04:00 |
Kyle Banker
|
f3fbb98fa8
|
RUBY-314 replica set connection and test cleanup
|
2011-08-25 11:27:58 -04:00 |
Kyle Banker
|
1090dd3873
|
RUBY-314 initial implementation of replica set health checking via background thread
|
2011-08-24 18:34:00 -04:00 |
Kyle Banker
|
3027e29f46
|
Simpify replica set connection code.
|
2011-08-16 16:47:07 -04:00 |
Kyle Banker
|
3a602e1227
|
minor: Deprecate :timeout for :pool_timeout
|
2011-06-15 16:17:42 -04:00 |
Kyle Banker
|
b0d5df72fa
|
RUBY-269 RUBY-275 added connect_timeout option
|
2011-06-15 14:20:11 -04:00 |
Kyle Banker
|
505bc68aab
|
minor: RUBY-257 note log_message is a no-op on Connection#receive_message.
|
2011-05-10 14:35:51 -04:00 |
Kyle Banker
|
604d0f60ed
|
RUBY-261 Cursor#close hits secondary when appropriate.
|
2011-05-10 14:21:23 -04:00 |
Kyle Banker
|
3509926071
|
Remove Connection#reset_connection (private) and deprecate
ReplSetConnection#reset_connection (public)
|
2011-03-29 12:18:58 -04:00 |
Kyle Banker
|
a6cc09e50c
|
RUBY-236 more timeout tweaks and tests
|
2011-03-29 11:46:29 -04:00 |
Kyle Banker
|
f3174550b7
|
RUBY-236 Create timeout block only when timeout is set
|
2011-03-29 11:06:46 -04:00 |
Kent Sibilev
|
c9da58965a
|
properly log sorting option
|
2011-03-28 11:18:14 -04:00 |
Kyle Banker
|
e49d50acc2
|
RUBY-236 set op_timeout for socket receive timeouts
|
2011-03-28 11:09:27 -04:00 |
Kyle Banker
|
272d4835a7
|
RUBY-252 RUBY-237 re-add Connection#host and Connection#port
|
2011-03-23 16:34:42 -04:00 |
Mauro Pompilio
|
e64f91e013
|
Implementation of the 'ping' command. Probably better suited for the 'active?' method.
|
2011-03-04 10:51:18 -05:00 |
Mauro Pompilio
|
1ad3285767
|
Add a mechanism to check if the connection is active/healthy.
|
2011-03-03 10:17:47 -05:00 |
Kyle Banker
|
ed44a7490c
|
Improved replica set failover tests. A few
improved exception messages.
|
2011-02-15 16:48:29 -05:00 |
Kyle Banker
|
0c574b9975
|
minor: alias Connection#reconnect to Connection#connect
|
2011-02-02 11:36:56 -05:00 |
Kyle Banker
|
9c83ca6b3e
|
minor style and doc fixes. warning about logging performance issues.
|
2011-01-31 15:51:39 -05:00 |
Steve Sloan
|
8a7296599b
|
Refactored logging of DB operations to use Connection#instrument.
This allows for easy overriding, e.g. to ActiveSupport notifications.
|
2011-01-31 15:13:12 -05:00 |
Kyle Banker
|
7c4740c47c
|
RUBY-232 handle authentication with connection pooling
|
2011-01-31 14:47:38 -05:00 |
Kyle Banker
|
fab538ed5e
|
minor: alias #read_primary? with #primary?
|
2011-01-17 13:37:41 -05:00 |
Kyle Banker
|
0d91faf6b1
|
RUBY-226 minor: license update
|
2011-01-17 12:26:32 -05:00 |
Kyle Banker
|
af43e9c2ce
|
RUBY-255
|
2011-01-17 12:06:03 -05:00 |
Kyle Banker
|
a197ea7852
|
RUBY-219 minor: use opts instead of options throughout
|
2011-01-05 11:30:20 -05:00 |
Kyle Banker
|
4d2d0a26af
|
minor: docs
|
2011-01-03 14:06:41 -05:00 |
Kyle Banker
|
4e5b1a7d23
|
RUBY-205 RUBY-150 Support new connection URI options
|
2010-12-30 15:40:50 -05:00 |
Kyle Banker
|
9da68bb3db
|
RUBY-189 use result of ismaster's maxBsonObjectSize
|
2010-12-29 18:06:31 -05:00 |
Kyle Banker
|
b77b3fe1e6
|
RUBY-215 added Connection#read_primary? and ReplSetConnection#read_primary?
|
2010-12-29 13:01:05 -05:00 |
Kyle Banker
|
70135a6b67
|
minor: docs
|
2010-12-15 14:15:49 -05:00 |
Kyle Banker
|
6196c8728a
|
RUBY-206 handle wtimeout behavior on 1.7.3
|
2010-12-15 14:15:20 -05:00 |
Kyle Banker
|
7ee45f4340
|
Removed three unused methods from Connection
|
2010-12-15 12:41:33 -05:00 |
Kyle Banker
|
9ea8fe98b7
|
minor: cleanup and organization of Connection classes
|
2010-12-15 12:36:43 -05:00 |
Kyle Banker
|
39b9656fc4
|
Fixed request id checking for threaded inserts.
|
2010-12-15 12:12:51 -05:00 |