Permalink
Switch branches/tags
Commits on Sep 21, 2011
  1. Added vnode callbacks for handling shutdown commands.

    jonmeredith committed Sep 21, 2011
    RiakKV FSMs blow up when they receive non-{r, blah, Idx, ReqId} and
    {fail, Idx, ReqId} messages.  Added an optional callback to the
    vnode module to handle messages during shutdown.
  2. Changed vnode shutdown after handoff to wait for master.

    jonmeredith committed Sep 21, 2011
    Added shutdown state to core_vnode which is entered
    once the vnode knows it is shutting down.  All vnode commands
    and coverage messages recieved during shutdown are failed with
    {error, shutdown}.
  3. Update new partition claim algorithm after review + bug fixes

    jtuple committed Sep 21, 2011
    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. Add new partition claim function and claim simulator

    jtuple committed Sep 20, 2011
    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. Update depend versions of lager and poolboy

    Jared Morrow committed Sep 20, 2011
  3. Fix a variable conflict

    Vagabond committed Sep 20, 2011
  4. Fix bug with worker checkin tracking

    Vagabond committed Sep 15, 2011
    bz1188
  5. Initial attempt at clean vnode shutdown that waits for queued work

    Vagabond committed Sep 14, 2011
    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.
Commits on Sep 16, 2011
  1. Merge pull request #86 from basho/AZ721-louder-2i-errors

    rustyio committed Sep 16, 2011
    AZ721 - Fail Loudly on 2i Errors
  2. Merge branch 'klm-coverage-fsm-state-bug' into 1.0

    Kelly McLaughlin committed Sep 16, 2011
  3. Fix subtle bug in riak_core_coverage_fsm.

    Kelly McLaughlin committed Sep 15, 2011
    Fixes: az726
    
    This change fixes a bug in riak_core_coverage_fsm where the updated
    state is not passed to the module implementing the behavior in the
    finish call. This can lead to incomplete results for operations that
    accumulate results in the state and do something with them in the
    finish function.
Commits on Sep 15, 2011
  1. Merge branch 'klm-change-worker-pool-msg-loglevel' into 1.0

    Kelly McLaughlin committed Sep 15, 2011
  2. Change log message for worker pool starting to debug level.

    Kelly McLaughlin committed Sep 15, 2011
    Fixes: az720
  3. Stop coverage fsm when there is an error.

    rustyio committed Sep 15, 2011
    AZ721
Commits on Sep 14, 2011
Commits on Sep 13, 2011
Commits on Sep 9, 2011
  1. Changed fixup restart test cleanup.

    jonmeredith committed Sep 9, 2011
    Scott warned against application:unload(), so switched to
    undefining the changed variables.
  2. Run bucket fixup functions after register.

    jonmeredith committed Sep 9, 2011
    Fixes: bz://1178, az://676
  3. Added failing test for bz://1178 after refactoring riak_core:register

    jonmeredith committed Sep 9, 2011
    Made it possible to pass in the app name into register and
    avoid the module/pid application lookup.
Commits on Sep 8, 2011
  1. Bump lager dependency to bring in eunit changes

    Jared Morrow committed Sep 8, 2011