Commit Graph

95 Commits

Author SHA1 Message Date
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
Kyle Banker 1095a39299 Better tests for reading rs secondaries 2010-12-15 14:16:05 -05:00
Kyle Banker 95c0fe088f Fully-automated replica set tests. 2010-12-14 17:38:52 -05:00
Kyle Banker 550db8f671 Removed redundant test 2010-12-14 15:56:11 -05:00
Kyle Banker 34b6f023eb Replica set automated tests 2010-12-14 15:47:18 -05:00
Kyle Banker 236d4a821f More connection refactoring. Updates to repl_set_manager. 2010-12-14 13:14:45 -05:00
Kyle Banker 0a47b76fca Toward automated rs tests 2010-12-13 16:25:23 -05:00
Kyle Banker 27b410f869 ReplSetConnection updates 2010-12-13 14:07:32 -05:00
Kyle Banker 2748606273 More portable replica set tests 2010-12-10 11:12:30 -05:00
Kyle Banker b63250e6e4 Fix for connections to replica sets with 1 secondary and 1 arbiter 2010-12-10 11:12:18 -05:00
Kyle Banker 5930c500b4 RUBY-208 test for connection failure. Minor test fix. 2010-11-30 12:36:45 -05:00
Kyle Banker 1e57ca90e1 Initial commit for reads from rs secondaries 2010-11-16 15:43:59 -05:00
Kyle Banker d6f8f9d41a Allow specification of replica set name on connect.
Raise ReplicaSetConnectionError if expected name doesn't match set.
2010-11-03 15:12:15 -04:00
Kyle Banker e416e05fc7 RUBY-190 bug fix for unavailable nodes on Connection#multi 2010-10-21 14:33:48 -04:00
Kyle Banker 7309d7e48b Path fixes for test in Ruby 1.9.2 2010-09-09 15:58:51 -04:00
Kyle Banker 5cbec4e5b6 RUBY-161 accessors for hosts in a replica set by node type 2010-08-24 11:20:54 -04:00
Kyle Banker 065517ac29 Fixed test bug; better replication ack tests; deprecated DB#error and DB#last_status for DB#get_last_error 2010-08-02 18:19:54 -04:00
Kyle Banker 24355977f5 Working replica set tests 2010-07-21 15:27:45 -04:00
Kyle Banker 0afa5aa412 Initial replica set support 2010-07-19 12:07:46 -04:00