Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: issue_388
Commits on Dec 5, 2012
  1. Joseph Blomstedt

    Fix long lines and comment styles in riak_core_node_watcher

    jtuple authored
    Fix typo DEFUATL_HEALTH_CHECK_INTERVAL to DEFAULT_HEALTH_CHECK_INTERVAL.
    
    Wrap extraordinarily long lines in riak_core_node_watcher to enable
    viewing code / commits on Github without horizontal scrolling. Typically,
    we aim to limit lines to 79 characters for optimal terminal viewing as
    well, but we've all been guilty of longer lines here and there so I only
    modified lines that were easily changed and/or too long for Github.
    
    Changed a few comment-only lines from '%' to '%%' to match Riak convention,
    and make Emacs erlang-mode auto-indent happy.
  2. Joseph Blomstedt

    Fix bugs in node watcher health check code

    jtuple authored
    Change incorrect use of #health_check.interval_tref to correct
    use of #health_check.check_interval.
    
    Fix badmatch error by changing handle_fsm_exit to return a 2-tuple as
    expected at the call-site rather than a 3-tuple.
    
    Changed determine_time to return an integer as required by Erlang as a
    timeout value. Previously, the function could return a float and
    trigger a badarg.
Commits on Nov 8, 2012
  1. Micah

    Health check is set in milliseconds now

    lordnull authored
    Also using a macro to define default rather than a magic number
  2. Micah
  3. Micah
  4. Micah

    Fixed typos and a mis-spec

    lordnull authored
Commits on Oct 31, 2012
  1. Micah

    Added tests for service_up/3

    lordnull authored
Commits on Oct 30, 2012
  1. Micah

    Added a spec.

    lordnull authored
Commits on Oct 17, 2012
  1. Micah

    Fixed warnings.

    lordnull authored
  2. Micah
  3. Micah

    heath tests full pass

    lordnull authored
Commits on Oct 15, 2012
  1. Micah

    Much improved/useful health check: qc not passing still.

    lordnull authored
    Doesn't play nicely with interweaved node up, service up, service down
    and node downs yet.
Commits on Oct 5, 2012
  1. Micah

    Fixed unhealthy_service test

    lordnull authored
  2. Micah
Commits on Oct 4, 2012
  1. Micah

    Fixed typo

    lordnull authored
  2. Micah

    Removed unused tests.

    lordnull authored
  3. Micah

    adding helthy service works

    lordnull authored
  4. Micah

    Breaking up validate_broadcast to handle many bcasts.

    lordnull authored
    This is done to test things like health check service recovery.
    Such a recovery would have both a down and an up, so the state
    progression and conresponding broadchast messages should be checked.
  5. Micah

    Rough implementation of health check system

    lordnull authored
    Tests fail, so not final.
  6. Micah

    Fixed typo.

    lordnull authored
  7. Micah
Commits on Sep 27, 2012
  1. Kelly McLaughlin
Commits on Sep 26, 2012
  1. Kelly McLaughlin

    Improve exception handling for synchronous calls in riak_core_vnode_p…

    kellymclaughlin authored
    …roxy.
    
    Fixes CORE231
    
    The call functions in riak_core_vnode_proxy only expected a result
    of {ok, Res}. This change calls a new function, call_reply, to
    better handle the case when an exception is thrown and wrap
    the reason in an error tuple.
Commits on Sep 25, 2012
  1. Joseph Blomstedt
Commits on Sep 21, 2012
  1. Reid Draper

    Call ring_trans synchronously, not in a spawn

    reiddraper authored
    Calling `add_supported_to_ring` is not threadsafe.
    If a process retrieves the member_meta and then
    it's concurrently updated by another process,
    the original process' changed will be overwritten.
    
    To exhibit the original bug, I added a
    timer:sleep(crypto:rand_uniform(1, 1000))
    line inside the spawned fun that calls
    riak_core_ring_manager:ring_trans(F, ok)
Commits on Sep 13, 2012
  1. Jared Morrow

    Merge pull request #223 from basho/jdb-timers

    jaredmorrow authored
    Change ticks from timer to more efficient erlang:send_after
  2. Jared Morrow

    Merge pull request #224 from basho/adt-os-timestamp

    jaredmorrow authored
    erlang:now() -> os:timestamp() in all the places it is safe
Commits on Sep 8, 2012
  1. Jared Morrow Andrew Thompson

    Update webmachine dep to bring in new mochiweb

    jaredmorrow authored Vagabond committed
  2. Andrew Thompson

    erlang:now() -> os:timestamp() in all the places it is safe

    Vagabond authored
    There are a few places I didn't touch as it was unclear if the values
    needed to be monotonic or not. Specifically core_claimant, core_gossip,
    core_ring and core_ring_manager.
Commits on Sep 7, 2012
  1. Jared Morrow
Commits on Aug 29, 2012
  1. Kelly McLaughlin
  2. Kelly McLaughlin

    Include eunit header.

    kellymclaughlin authored
  3. Kelly McLaughlin

    Add eunit test.

    kellymclaughlin authored
  4. Kelly McLaughlin
  5. Kelly McLaughlin
Something went wrong with that request. Please try again.