Commit Graph

278 Commits

Author SHA1 Message Date
Andrew Thompson
0c89cb92ba Handle too_busy response 2013-02-20 11:11:18 -05:00
Andrew Thompson
a959e70945 Fix some path and ring convergance issues in repl tests 2013-02-19 22:50:12 -05:00
Andrew Thompson
5af919b812 Make sure we wait for elections to complete when starting repl tests 2013-02-14 13:40:47 -05:00
Joe DeVivo
7e8cd7b668 Added {error, notfound} to kv check, more robust connection recycling 2013-02-12 17:56:29 -07:00
Joe DeVivo
d9a2acdcf2 added no-op for 2i on legacy 2013-02-12 10:38:56 -07:00
Joe DeVivo
d521af1dfb Added version awareness to test functions 2013-02-12 09:33:39 -07:00
Joe DeVivo
f46f82f6f0 Added process message on search failure and easy reading asserts 2013-02-08 09:24:35 -07:00
Sean Cribbs
59845fef1d Make the number of load workers configurable. 2013-02-07 22:20:43 -06:00
Joe DeVivo
02591fdb9d Added supervisor pid to node monitor 2013-02-07 12:23:55 -07:00
Joe DeVivo
309a530c0c Add Node to return tuple for workers 2013-02-07 11:44:53 -07:00
Joe DeVivo
4663b4f9dc added _sup to loaded_upgrade_worker 2013-02-07 11:25:58 -07:00
Joe DeVivo
f331bd196a loaded_upgrade_worker gen_server to supervisor 2013-02-07 11:10:46 -07:00
Joe DeVivo
f3ef738649 some iolist stuffs 2013-02-07 09:48:33 -07:00
Joe DeVivo
e27b0fc60f Some copyright headers 2013-02-07 09:45:55 -07:00
Joe DeVivo
9681438334 Everyting from PR #196 except the big ones 2013-02-07 09:38:06 -07:00
Joe DeVivo
f41a5f591d Added node monitor 2013-02-06 12:44:15 -07:00
Joe DeVivo
6d3d1e675f Added catch for search badfun 2013-02-06 10:20:38 -07:00
Joe DeVivo
0b8d0f7889 Moved new_loaded_upgrade to loaded_upgrade 2013-02-05 13:25:38 -07:00
Joe DeVivo
60f8b60367 More message passing, less logging 2013-02-05 13:01:01 -07:00
Joe DeVivo
14a2d376c5 A passing full losed upgrade run 2013-02-05 13:01:01 -07:00
Joe DeVivo
d9563559e4 10 concurrent workers per node, breaks at first upgrade 2013-02-05 13:01:00 -07:00
Joe DeVivo
a453284201 Load applied 2013-02-05 13:01:00 -07:00
Joe DeVivo
b1b7730292 POC new_loaded_upgrade 2013-02-05 13:01:00 -07:00
Bryan Fink
b6a6066d65 use rt:systest_write instead of listcomp of riakc_pb_socket:put
Yay for using builtin utilities instead of hand-rolled hacks.
2013-02-02 08:54:57 -05:00
Bryan Fink
c8efe95dac reproduction test for basho/riak_kv#475 (MR reduce with node down)
This test is based off one submitted by Alexander Gunin to the
riak-users mailing list as an issue reproducer.
[http://lists.basho.com/pipermail/riak-users_lists.basho.com/2013-January/010896.html]
2013-02-01 15:47:42 -05:00
Andrew Thompson
77547c9d88 Don't test for leader election on 1.2.1 or earlier, fix version checking
Also, make some RPC calls more resiliant
2013-01-31 14:49:14 -05:00
Andrew Thompson
96916e97d4 Wait for connection to re-establish after leader election 2013-01-30 14:54:17 -05:00
Chris Tilt
30dd520065 Fix broken calls to make_cluster 2013-01-30 11:20:43 -08:00
Chris Tilt
24d49cd7e8 Add some debugging for replication test 2013-01-30 11:20:43 -08:00
Chris Tilt
109d464c76 Fix my refactor error and add some debug 2013-01-30 11:20:43 -08:00
Andrew Thompson
c705247f29 Wait for del_site to disconnect the clusters before continuing 2013-01-30 13:44:33 -05:00
Engel A. Sanchez
eb6c3eba15 Fix insufficient vnodes in verify_listkeys
Fixes issue #149, related to basho/riak_core#228
If queried right after it has joined the cluster, a node may not have
the other nodes registered by the node watcher yet. Switching to waiting
until all nodes in the cluster have been registered by the node watcher
before performing query.
Also, querying for all nodes after stopping/starting just in case,
although I haven't seen problems there, but sound reasonable.
Removing assert from the call to wait_until_no_pending_changes since it
is already asserting internally.
2013-01-30 10:48:13 -05:00
Sean Cribbs
02d7bd0ec3 Log actual search results when hitting the badfun issue. 2013-01-28 10:43:41 -06:00
Sean Cribbs
a730d5d9ca Merge pull request #183 from basho/sdc-crash-after-upgrade
Monitor nodes after they upgrade
2013-01-25 13:35:11 -08:00
Dave Parfitt
be3febffdc rebase w/ @buddhistheads latest repl refactor 2013-01-25 14:51:56 -05:00
Sean Cribbs
a469d3b24c Monitor nodes after they upgrade in loaded_upgrade to detect unexpected crashes. 2013-01-25 13:41:58 -06:00
Dave Parfitt
850ca62ff8 keep writing data to repl until node marked dirty 2013-01-25 14:29:37 -05:00
Dave Parfitt
9f34d23e53 Merge pull request #182 from basho/cet-repl2-refactor
Moved common repl2 functions to repl_util and added log_to_nodes tracing...
2013-01-25 11:27:21 -08:00
Chris Tilt
d80c30025c Remove export all from repl tests; make repl_util API explicit 2013-01-25 10:43:29 -08:00
Chris Tilt
1a61e06634 Moved common repl2 functions to repl_util and added log_to_nodes tracing to replication2_dirty test 2013-01-25 10:12:34 -08:00
Joe DeVivo
64424d6817 [KNOWN ISSUE] Joe's log messages should be clearer 2013-01-25 10:33:20 -07:00
Joe DeVivo
1a93a7d2d0 Added check for mixed cluster during search check 2013-01-25 09:40:23 -07:00
Sean Cribbs
4b48a7df5c Merge pull request #179 from basho/cet-replication-fixes
Started refactor and added cluster-wide logging from tests.
2013-01-25 06:40:37 -08:00
Chris Tilt
b0ca6fa2c5 Move log_to_nodes into rt module for general use. 2013-01-24 15:51:33 -08:00
Chris Tilt
a076531785 Started refactor and added cluster-wide logging from tests. 2013-01-24 14:24:16 -08:00
engelsanchez
84626aaaf0 Merge pull request #175 from basho/eas-listkeys-binary-timeout-error
Listing keys still times out
2013-01-24 07:22:16 -08:00
Engel A. Sanchez
c765bb9a74 Detect timeout code {error, <<"timeout">>}
Saw this unhandled timeout error code here:
http://giddyup.basho.com/#/projects/riak/scorecards/9/9-291/3340
This should fix issue #175
2013-01-24 10:13:58 -05:00
Chris Tilt
cfb7ab29c1 Cleaned up changes per peer review. Replication test passes. 2013-01-23 17:09:27 -08:00
Chris Tilt
11ec2c3380 Added wait for ring to converge after bucket creation for both tests. 2013-01-23 15:55:04 -08:00
Dave Parfitt
65255fa860 typo in replication_upgrade 2013-01-23 16:26:54 -05:00