Skip to content

Conversation

@jvoegele
Copy link
Contributor

Part of this merge is a forward-merge for #863 into riak_test master. The relevant changes are in src/yokozuna_rt.erl and tests/verify_snmp_repl.erl. The remaining changes are yokozuna tests that have not yet been forward-merged into master and were taken along for the ride.

Zeeshan's notes 10/9, per commit: 844ee9c

After some env work, I no longer ran into the issue I was having w/ the race from basho/riak_kv#872 (another issue for another time).

I've updated yokozuna_rt and the extractors test here to actually test the issue in basho/yokozuna#547, as I finally gathered what was going on.

Please review @jvoegele @fadushin and run the extractors test off 2.1, and rec using basho/yokozuna#572 branch off of 2.1.

jvoegele and others added 4 commits October 7, 2015 11:54
There is a race in riak_snmp_stat_poller, which occurs when realtime
replication is enabled for more than two clusters. If the replication is
enabled quickly enough, then the bug does not manifest itself. This
change introduces a sleep between enabling replication between the
individual clusters, thus causing the test to fail consistently instead
of sporadically.
Update verify_snmp_repl test to prove that cluster stats are correctly
recorded in SNMP.
@zeeshanlakhani zeeshanlakhani force-pushed the bugfix/forward-merge-snmp-stat-poller-race branch from a097273 to 35cb49f Compare October 7, 2015 15:55
Specifically, introduce the `gen_keys/1` and `assert_search/6` functions
into yokozuna_rt module and refactor tests to use them instead of copied
and pasted code fragments.

(cherry picked from commit 49d5c36)
@zeeshanlakhani zeeshanlakhani changed the title Merge branch riak/2.0 into master Merge branch riak/2.0 into master w/ some updates to yz_extractors along the way Oct 9, 2015
@zeeshanlakhani zeeshanlakhani force-pushed the bugfix/forward-merge-snmp-stat-poller-race branch from 844ee9c to 0768ebc Compare October 13, 2015 19:34
@jvoegele
Copy link
Contributor Author

👍 0768ebc

jvoegele added a commit that referenced this pull request Oct 15, 2015
…ler-race

Merge branch `riak/2.0` into `master` w/ some updates to yz_extractors along the way
@jvoegele jvoegele merged commit e72826d into master Oct 15, 2015
@jvoegele jvoegele deleted the bugfix/forward-merge-snmp-stat-poller-race branch October 15, 2015 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants