Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: bz1235-handoff…
Commits on Oct 11, 2011
  1. Joseph Blomstedt
Commits on Oct 7, 2011
  1. Joseph Blomstedt

    Fix bz1235

    jtuple authored
    Change core_vnode to return error when receiving sync messages while
    exiting, change handoff_receiver to check for error responses.
Commits on Oct 3, 2011
  1. Andrew Thompson
Commits on Sep 29, 2011
  1. Joseph Blomstedt
  2. Jon Meredith
  3. Joseph Blomstedt
  4. Joseph Blomstedt
  5. Jon Meredith
  6. Joseph Blomstedt
Commits on Sep 27, 2011
  1. Jon Meredith
  2. Jon Meredith
  3. Jon Meredith
  4. Jon Meredith
  5. Jon Meredith

    Perform final sync once all handoff data has been sent.

    jonmeredith authored
    The new cluster membership code switched to forwarding
    once handoff is complete.  Without this change the vnode
    starts forwarding while the new owner is still processing
    buffered TCP data.
Commits on Sep 26, 2011
  1. Joseph Blomstedt

    Fix bug with nodes leaving the cluster earlier than intended.

    jtuple authored
    Change ring_ready to wait on exiting nodes in addition to valid and leaving
    nodes. This ensure the ring converges on a node's intent to leave before the
    node leaves the cluster.
    
    Change claimant from moving itself from exiting to invalid. Instead, after
    the claimant moves to exiting, a new claimant will emerge that will move the
    previous claimant to invalid and initiate shutdown.
Commits on Sep 23, 2011
  1. Jon Meredith

    Fixed update_forwarding_mode return in deleted case.

    jonmeredith authored
    The caller wraps the state with the next state information.
  2. Jared Morrow
  3. Jon Meredith
  4. Jon Meredith
  5. Jon Meredith

    Made Mod:delete happen before unregister.

    jonmeredith authored
    Prevent a race with the master starting a new vnode.
    Changed coverage to run while in handoff - otherwise
    listkeys et al will bomb during partition transfer.
  6. Jon Meredith

    Added infinity timeout on finish_handoff call.

    jonmeredith authored
    On a very busy 6-node stagedevrel cluster was hitting.
    11:35:18.950 [error] gen_fsm <0.171.0> in state active terminated with reason: {timeout,{gen_server,call,[riak_core_gossip,{finish_handoff,45671926166590716193865151022383844364247891968,'dev1@127.0.0.1','dev3@127.0.0.1',riak_pipe_vnode}]}}
    
    The process is local and the call is monitored in case gossip dies.
  7. Jon Meredith

    Changed vnode to unregister from master before cleaning up.

    jonmeredith authored
    Fullsync repl was hanging because it delivered a fold message
    while finish_handoff was being called.  The message was never
    processed as the vnode immediately shut down rather than
    forwarding the messages in the queue.
    
    On completion of handoff, async unregister from the vnode master. The
    unregister call now passes the pid of the vnode unregistering
    and now the master sends an unregistered event once the vnode
    is removed from the master ETS table.
    
    While waiting for the acknowledgment of unregister the vnode goes
    into forwarding mode.
  8. Joseph Blomstedt
  9. Joseph Blomstedt
Commits on Sep 21, 2011
  1. Joseph Blomstedt
  2. Joseph Blomstedt

    Update new partition claim algorithm after review + bug fixes

    jtuple authored
    Change claim_simulation.erl eunit test to run a simulation with both the
    new and old claim algorithm as suggested.
    
    Rename riak_core_new_claim:new_claim/2 to new_choose_claim/2 to match
    default_choose_claim/2.
    
    Fix two bugs in riak_core_new_claim.erl that are on code paths that cannot
    occur in 1.0 due to existing invariants, but should be fixed nevertheless:
    - Match error in prefilter_violations: change CNth to {CNth, _}.
    - Handle case where new_choose_claim fails to claim partitions by falling
      back to claim_rebalance_n.
Commits on Sep 20, 2011
  1. Joseph Blomstedt

    Add new partition claim function and claim simulator

    jtuple authored
    Add riak_core_new_claim:new_wants_claim/2 and new_claim/2.
    Merge in claim simulation code provided by Greg Nelson (grourk@dropcam.com).
    Add pretty_print function to riak_core_ring.
    
    The new claim function is designed to reduce the number of partition transfers
    that occur when rebalancing the ring, aiming as close to possible for minimal
    consistent hashing.
  2. Jared Morrow
  3. Andrew Thompson

    Fix a variable conflict

    Vagabond authored
  4. Andrew Thompson
  5. Andrew Thompson
  6. Andrew Thompson

    Fix bug with worker checkin tracking

    Vagabond authored
    bz1188
  7. Andrew Thompson
  8. Andrew Thompson

    Initial attempt at clean vnode shutdown that waits for queued work

    Vagabond authored
    bz1188
    
    This patch adds a patched supervisor module that supports graceful
    shutdown from a simple_one_for_one, so when a node stops gracefully, we
    can block shutdown long enough to process any queued work and do any
    other cleanups.
  9. Jon Meredith Andrew Thompson
Something went wrong with that request. Please try again.