Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: jdb-timers
Commits on Jul 24, 2012
  1. Joseph Blomstedt
  2. Joseph Blomstedt
Commits on Jul 22, 2012
  1. Joseph Blomstedt

    Merge pull request #214 from basho/jdb-ring-manager-load

    jtuple authored
    Fix race during start-up that could overwrite existing ring file.
    Fix issue #166.
  2. Joseph Blomstedt

    Fix capability system race condition

    jtuple authored
    Prevent the node from crashing when the capability system attempts to
    negotiate capabilities before the node has registered any capabilities.
  3. Joseph Blomstedt

    Make the ring manager responsible for loading the ring

    jtuple authored
    Change riak_core_ring_manager and riak_core_app so that the ring manager
    is responsible for loading the ring file from the disk rather than starting
    with an initially empty ring and then relying upon the riak_core app to
    later load the ring. This avoids a race condition with the ring manager
    writing the empty ring to the disk before the riak_core app loads the
    prior ring.
    Note: Riak previously relied upon starting with a fresh ring in order to
    ensure secondary vnodes were started in case any had fallback data that
    needed to be handed off. The act of starting secondaries has long since
    been moved to the riak_core_vnode_manager that periodically starts up
    secondary vnodes over time, therefore there is no longer any need to
    start with a fresh ring. This commit will therefore always load a saved
    ring when the ring_manager starts, rather than starting with a fresh ring.
Commits on Jul 20, 2012
  1. Russell Brown
  2. Russell Brown

    Register stat mods with the riak_core app

    russelldb authored
    When the stat cache crashes, we must re-register stat mods with
    the cache so that it works when re-started.
    Delete stats before register
    This is to ensure that a restarted riak_core_stat will not
    leave any orphaned folsom stats. Folsom needs some work to handle
    crashing owners better. Some table in folsom are owned
    by the creating process, and some by folsom. If riak_core_stat
    crashes some folsom can be left inconsistent. This cleans up
    at start time.
Commits on Jul 18, 2012
  1. Jared Morrow
Commits on Jul 17, 2012
  1. Russell Brown

    Merge pull request #210 from basho/rdb-stat-crash

    russelldb authored
    Don't crash the cache when a stat mod crashes
  2. Russell Brown

    Don't crash the cache when a stat mod crashes

    russelldb authored
    Since calls to calculate stats are spawn_linked to ensure
    that the calculating processes exits if the cache exits, the cache
    will crash if a spawned process exits. This is bad. This change
    traps_exits on spawned processes and enforms awaiting callers of
    the error, without crashing the cache or effecting other registered
Commits on Jul 13, 2012
  1. Jared Morrow

    Fix folsom dependency

    jaredmorrow authored
  2. Jared Morrow
  3. Jared Morrow
  4. Jared Morrow

    Roll version 1.2.0

    jaredmorrow authored
Commits on Jul 10, 2012
  1. Dave Smith

    Merge pull request #207 from basho/adt-monitor-leak

    dizzyd authored
    Demonitor vnode workers when they are checked back in
Commits on Jul 9, 2012
  1. Andrew Thompson
Commits on Jul 6, 2012
  1. Jesse Williamson

    Merge pull request #206 from basho/jdb-force-only-when-ready

    chardan authored
    Fix bug that caused ring to be forcibly updated continuously
Commits on Jul 5, 2012
  1. Joseph Blomstedt

    Fix bug that caused ring to be forcibly updated continuously

    jtuple authored
    Change riak_core_claimant to only force a ring update of a stalled
    ring if the ring is "ready" and has therefore already converged across
    the cluster. Without this change, ring convergence always appears to
    be stalled if a node is offline and therefore the force update happens
    over and over.
  2. Ryan Zezeski
  3. Ryan Zezeski
  4. Russell Brown
Commits on Jul 2, 2012
  1. Sean Cribbs

    Merge pull request #204 from basho/sdc-unpin-protobuffs

    seancribbs authored
    Unpin the protobuffs dependency.
  2. Russell Brown
  3. Sean Cribbs

    Add chat bot notification.

    seancribbs authored
Commits on Jun 29, 2012
  1. Sean Cribbs

    Merge pull request #201 from basho/rdb-remove-redundant-slide

    seancribbs authored
    Remove redundant stat mode slide and spiraltime
  2. Joseph Blomstedt
  3. Sean Cribbs

    Unpin the protobuffs dependency.

    seancribbs authored
    When using the tag, this prevents riak_pb from using the correct
    dependency version, breaking lots of functionality. riak_core should
    be using the same version as riak_pb.
  4. Joseph Blomstedt

    Change handoff sender to use RPC to negotiate listener IP

    jtuple authored
    Change the handoff sender to use RPC to query the handoff_ip from the
    handoff listener rather than directly issuing a gen_server call. The
    call approach crashes against older nodes that do not expect a
    handoff_ip message.
  5. Joseph Blomstedt

    Make claimant periodically check for stalled ring and force update

    jtuple authored
    Claimant transitions are triggered by ring update events. However, if
    a ring update event is somehow missed, and the ring reaches a steady
    state, then there will be no more update events and the claimant will
    stall. Likewise, when a older node joins the cluster, there is a race
    between when the capabilities system negotiates that the claimant
    should perform automatic joining and when the claimant transition
    occurs. Thus, the claimant may not properly auto join an older node in
    a mixed cluster.
    This is resolved in this commit by having the claimant periodically
    check for a stalled ring and trigger a force update if the ring is
    stalled. A stall is detected by checking if running the claimant logic
    against the current ring would generate a ring that has different
    cluster state than the current ring. If so, it is considered stalled
    and the update forced.
Commits on Jun 27, 2012
  1. Sean Cribbs

    Merge pull request #199 from basho/add-travis-ci

    seancribbs authored
    Add Travis CI hook and build status.
  2. Russell Brown
  3. Sean Cribbs
Commits on Jun 26, 2012
  1. Russell Brown
  2. Russell Brown

    Cache stats in ets, only allow one call to Mod:get_stats at a time.

    russelldb authored
    Reintroduce gen_server to riak_core_stat rather than spawn per update
    Due to review, also make stat cache ets table protected.
    Add infinity timeout to stat calculation call
    Doc the TTL param
    Make error response more meaningful
    Expose staleness
    Calculate cache timestamp as early as possible
    Add unit test for the cache
Commits on Jun 25, 2012
  1. Jon Meredith
Something went wrong with that request. Please try again.