Tyler Brock
07375ce024
RUBY-403 added test and fix for refresh health check attempting to close socket that may be nil
2012-01-25 18:45:31 -05:00
Kyle Banker
15dce65e5a
RUBY-398 skip seed node if neither primary nor secondary
2012-01-20 13:31:04 -05:00
Kyle Banker
68c613ce79
RUBY-398 test fix
2012-01-20 11:00:38 -05:00
Kyle Banker
b5576a7ecd
RUBY-398 test case for this bug report
2012-01-20 10:56:39 -05:00
Jorge Bejar
6b8ab02ec8
Fix issue RUBY-391
...
Fix a problem with the exception raised when trying to insert
in a replicaset when primary is not available.
The ssue is reported here: https://jira.mongodb.org/browse/RUBY-391
2011-12-16 13:44:21 -02:00
Kyle Banker
a7139fd5ed
RUBY-375
2011-12-06 16:41:51 -05:00
Kyle Banker
80c4cb750d
minor: remove test
2011-12-06 14:38:14 -05:00
Kyle Banker
02d7a3c5dd
minor: test
2011-12-05 18:31:29 -05:00
Kyle Banker
e0f44ca41d
RUBY-379 RUBY-381 test
2011-12-05 16:16:06 -05:00
Kyle Banker
b6ff77fcbc
RUBY-379 RUBY-381 reconnect on 'not master' errors (fix close connection logic)
2011-12-05 15:25:37 -05:00
Kyle Banker
29f3772053
RUBY-376 use new seed nodes first
2011-12-02 17:42:18 -05:00
Kyle Banker
b579a6347f
RUBY-376 always cache original seed nodes
2011-12-02 17:20:04 -05:00
Kyle Banker
03303b8409
RUBY-374 Close connection on SystemStackError, NoMemoryError, and SystemCallError
2011-12-02 15:37:05 -05:00
Kyle Banker
e81b616da5
minor: test fix
2011-11-18 16:56:03 -05:00
Kyle Banker
fa10508f07
Remove thread-local map and socket map (complexity creep).
2011-11-18 15:47:06 -05:00
Kyle Banker
177fad34ff
Added replica set refresh test for threaded app.
2011-11-16 18:10:16 -05:00
Kyle Banker
fbdf16bd48
minor: text fixes
2011-11-07 13:36:57 -05:00
Kyle Banker
9cb9f5c663
minor: test fix
2011-11-04 16:53:28 -04:00
Kyle Banker
68627cef3d
Replica Set test harness refactoring.
2011-11-03 11:17:36 -04:00
Kyle Banker
abe3532d2a
RUBY-352 test commands go to primary
2011-10-26 12:34:16 -04:00
Kyle Banker
8e02b4e9b4
minor: test fix
2011-10-17 14:36:47 -05:00
Kyle Banker
6a7e991689
Fix connection leak and refresh.
2011-10-14 09:52:11 -04:00
Kyle Banker
1001e59e44
minor: test framework fixes; minor bug fixes
2011-10-13 17:58:20 -04:00
Kyle Banker
c2070bb90a
minor: simply and refactor auto refresh
2011-10-12 17:13:48 -04:00
Kyle Banker
566d1a844f
minor: test to reproduce CURSOR_NOT_FOUND error with async refresh
2011-10-12 10:51:57 -04:00
Kyle Banker
f5f714a1a1
Added some basic, sanity-checking tests.
2011-10-07 13:55:09 -04:00
Kyle Banker
3e3f05813a
minor: cleanup and test fix
2011-09-15 17:46:59 -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
50c38c6c6b
RUBY-284 document :read API
2011-09-06 14:58:03 -04:00
Kyle Banker
fbeea87c47
Added some read preference tests; refactoring; nice Pool#inspect.
2011-08-31 17:34:06 -04:00
Kyle Banker
adb4675f20
RUBY-321 Use sync RW lock for ReplSetConnection. Bug fixes.
2011-08-31 16:05:21 -04:00
Kyle Banker
7769f4d44d
minor: test fix
2011-08-31 11:46:33 -04:00
Kyle Banker
85a53571bc
minor: test cleanup
2011-08-26 10:59:49 -04:00
Kyle Banker
5559f91da2
RUBY-314 test for update when a node is removed
2011-08-25 18:52:20 -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
9ea718522f
RUBY-291 automate local replica set reads by ping time
2011-08-22 11:52:11 -04:00
Kyle Banker
3027e29f46
Simpify replica set connection code.
2011-08-16 16:47:07 -04:00
Kyle Banker
4f4e6ee833
RUBY-286 test replica set reconnect when adding a new node
2011-06-17 12:15:07 -04:00
Kyle Banker
b0d5df72fa
RUBY-269 RUBY-275 added connect_timeout option
2011-06-15 14:20:11 -04:00
Kyle Banker
604d0f60ed
RUBY-261 Cursor#close hits secondary when appropriate.
2011-05-10 14:21:23 -04:00
Kyle Banker
140dfa9f32
minor: fixes
2011-04-26 07:48:16 -04:00
Kyle Banker
043590f9a3
minor: test replica set connect with reverse node order
2011-04-13 14:39:52 -04:00
Kyle Banker
272d4835a7
RUBY-252 RUBY-237 re-add Connection#host and Connection#port
2011-03-23 16:34:42 -04:00
Kyle Banker
2690520afa
RUBY-248 Verify query speed after failover
2011-03-12 17:48:35 -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
fab538ed5e
minor: alias #read_primary? with #primary?
2011-01-17 13:37: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
01c38eabdd
Use retry instead of while loop for rescuing connection failure (quasor)
2010-12-29 13:13:54 -05:00
Kyle Banker
b77b3fe1e6
RUBY-215 added Connection#read_primary? and ReplSetConnection#read_primary?
2010-12-29 13:01:05 -05:00