Commit Graph

1179 Commits

Author SHA1 Message Date
Joseph Blomstedt
372841a8e9 Merge pull request #12 from basho/rz-search-rolling-upgrade
Add search to loaded_upgrade
2012-08-08 18:30:47 -07:00
Joseph Blomstedt
9c6a44c326 Merge pull request #13 from basho/jdb-capabilities2 2012-08-08 18:13:16 -07:00
Joseph Blomstedt
10456236b7 Fix search tester in loaded_upgrade
Use a synchronous command to populate the search buckets, rather than
an asynchronous command. Otherwise, there is a data race between data
being rewritten and search queries being performed.

Change the search verify script to have the proper solr path, otherwise
the script always fails because it queries the wrong index.

Modify the search tester to allow search failures while the cluster has
mixed versions. There is currently a known bug in Riak that causes search
queries to potentially fail against a mixed cluster. The test now only
requires the tester to succeed after all nodes have been upgraded.
2012-08-08 17:51:33 -07:00
Bryan Fink
c17c9a7625 Merge branch 'bwf-mapred_verify' 2012-08-08 11:18:55 -04:00
Joseph Blomstedt
4a5c382181 Add rolling_capabilities test, update verify_capabilities test 2012-08-02 21:52:56 -07:00
Ryan Zezeski
c18755e445 Add Search to loaded_upgrade
Verify Search works during a rolling upgrade.
2012-07-29 15:07:09 -04:00
Joseph Blomstedt
9a53db693a Add loaded_upgrade test
Add loaded_upgrade test that spawns k/v and map/reduce testers that run
concurrently as cluster nodes are upgraded. Each tester is spawned before
upgrading a node, and then verified after the upgrade. If the test fails,
the test is then re-run until it passes (or timeout) in order to distinguish
between transient failure and permanent data loss failures.

Current k/v and map/reduce testers use basho_bench.
2012-07-25 10:24:15 -07:00
Joseph Blomstedt
d5b7381d82 Merge branch 'jdb-fix-mixed-cluster'
As part of merge, modified verify_basic_upgrade test to use new
deploy_nodes API
2012-07-19 19:53:48 -07:00
Joseph Blomstedt
d6aded2c0a Merge branch 'jdb-staged-clustering'
Conflicts:
	src/rt.erl
2012-07-19 19:48:02 -07:00
Joseph Blomstedt
d6327e080f Merge branch 'jdb-handoff-ip' 2012-07-19 15:48:24 -07:00
Joseph Blomstedt
4062ff7881 Merge branch 'jdb-capabilities'
Merging involved changing `deploy_nodes` and `build_cluster` to
support both mixed-version deployment as well as supplying
initial app.config overrides.

Updated all tests from both side of the merge to support new API

Conflicts:
	src/rt.erl
	src/rtdev.erl
2012-07-19 15:38:34 -07:00
Bryan Fink
ae317532f6 run mapred_verify via mapred_verify_rt tests
- pulls in mapred_verify as a rebar dep
 - adds "deps" to rtdev in order to get mapred_verify on the path
2012-07-16 12:14:44 -04:00
Joseph Blomstedt
2f7963e0ab Add test to verify basic mixed-cluster operations
The test verifies that joining mixed-versions of nodes works in either
direction (old version to new, or new to old) as well as verifies that
handoff works in mixed version clusters.

The motivation for this test was a noted regression in mixed-version
handoff when joining a Riak 1.2 node to an older node (joining in the
opposite direction worked fine).

Related bug fix: basho/riak_core#203
2012-06-28 14:02:10 -07:00
Ryan Zezeski
a537f9366b Allow tweaking of num nodes and handoff concurrency
Also added code, commented out, to kill one of the src vnodes during
handoff to verify that the handoff sender process is killed with it.
2012-06-07 22:59:04 -04:00
Joseph Blomstedt
f4776c06d9 Add test for staged cluster administration
See basho/riak_core#177 and basho/riak_core#181
2012-05-25 00:14:42 -07:00
Joseph Blomstedt
5c4e53225d Add test for user-configurable handoff_ip
Related issue: basho/riak_core#176
2012-05-22 14:12:59 -07:00
Ryan Zezeski
3659520ded Moved search repair API into vnode 2012-05-16 22:51:22 -04:00
Ryan Zezeski
b25d5459dc Allow bitcask or level KV backend 2012-05-16 22:51:14 -04:00
Ryan Zezeski
e8db14093a Allow testing of KV for repair 2012-05-16 22:51:02 -04:00
Ryan Zezeski
04ebd5f97f Verify that src partition is not deleted after repair 2012-05-16 22:50:52 -04:00
Ryan Zezeski
63da48ca7e Change timer & small fixes 2012-05-16 22:50:44 -04:00
Ryan Zezeski
5e31fe5ce9 Add some more logging and add upper bound to wait 2012-05-16 22:50:31 -04:00
Ryan Zezeski
4d02c01acb Add some stuff to repair test
1. Allow config of ring size

2. Set config before building cluster

3. Wait for repair
2012-05-16 22:49:46 -04:00
Ryan Zezeski
8a433b1c2e Add partition_repair test 2012-05-16 22:43:20 -04:00
Joseph Blomstedt
d05cd84944 Add mixed-cluster config + helper script + upgrade test 2012-04-27 17:11:39 -07:00
Joseph Blomstedt
7f6f9eb55a Add mixed-cluster support + upgrading, add verify_capabilities test 2012-04-27 16:50:31 -07:00
Joseph Blomstedt
1e06fc7bd5 Add test for issue basho/riak_core#154 2012-04-05 02:05:39 -07:00
Joseph Blomstedt
2a89366e12 Add test for issue basho/riak_core#155 2012-04-02 13:59:26 -07:00
Joseph Blomstedt
a6aec227cd Initial release 2012-01-10 17:21:39 -07:00