Commits on Jul 17, 2013
  1. @jrwest

    remove addressed TODOs

    jrwest committed Jul 17, 2013
  2. @jrwest
  3. @jrwest

    supervise bg manager

    jrwest committed Jul 17, 2013
  4. @jrwest

    * lock & type querying

    * kill processes holding locks when lowering concurrency limit or disabling
    jrwest committed Jul 17, 2013
Commits on Jul 16, 2013
  1. @jrwest

    * added enable/disable

    * added (set_)concurrency_limit functions
    * renamed and reorganized some things
    jrwest committed Jul 16, 2013
  2. @jrwest

    WIP

    jrwest committed Jul 16, 2013
Commits on Jul 12, 2013
  1. @cmeiklejohn

    Merge pull request #285 from basho/csm-remove-unnecessary-fn

    Remove unnecessary function call.
    cmeiklejohn committed Jul 11, 2013
  2. @cmeiklejohn
Commits on Jul 11, 2013
  1. @jaredmorrow

    Merge branch '1.4'

    jaredmorrow committed Jul 11, 2013
Commits on Jul 9, 2013
  1. @jtuple
  2. @jtuple

    Fix two major vnode manager bugs

    First, fix a bug that enabled a race condition wherein the vnode
    manager could start the same vnode multiple times. This would result
    in both vnode instances trying to acquire the same backend, which
    would fail and force the Riak node to shutdown.
    
    The cause of this bug was a change introduced during the large
    ring optimization work for Riak 1.4. In this work, an unbounded
    `ets:match_delete` that resulted in a table scan was changed to
    a straightforward `ets:delete`. Unfortunately, the `ets:delete`
    could delete data associated with a newer instance of a given vnode
    in cases where a monitor for a prior instance fired after the new
    instance was created.  This bug was fixed by switching to a bounded
    `ets:match_delete` that avoids the table scan while also avoiding
    unintended deletes.
    
    Second, fix a bug introduced during the parallel vnode initialization
    work from Riak 1.3.1 that caused the vnode manager to newly monitor a
    given vnode each time get_vnode_pid was called. This bug could result
    in an unbounded number of monitors being created in certain scenarios,
    causing a node to become slower over time until it was restarted.
    jtuple committed Jul 8, 2013
Commits on Jul 2, 2013
  1. @jaredmorrow

    Merge branch '1.4'

    jaredmorrow committed Jul 2, 2013
Commits on Jul 1, 2013
  1. @jrwest

    Merge pull request #345 from basho/jrw-incrvsn-resize-replace

    Incrememnt Ring Version when Force-Replacing during Resize
    jrwest committed Jul 1, 2013
Commits on Jun 28, 2013
  1. @jrwest

    Incrememnt Ring Version when Force-Replacing during Resize

    Because the claimant runs in a different "mode" the ring version may
    not be incremented otherwise causing reconcilation during gossip to
    fail. Seen in the wild and recreated periodically during riak_test
    jrwest committed Jun 28, 2013
Commits on Jun 26, 2013
  1. @jaredmorrow

    Roll riak_core version 1.4.0

    jaredmorrow committed Jun 25, 2013
Commits on Jun 24, 2013
  1. @jrwest

    Merge pull request #331 from basho/jrw-resize-foh-fix

    fix forced_ownership_handoff during resize
    jrwest committed Jun 24, 2013
Commits on Jun 21, 2013
  1. @russelldb

    Merge pull request #336 from basho/gh335-reshed-stats

    Fix crashing stat mod never getting rescheduled
    russelldb committed Jun 21, 2013
Commits on Jun 19, 2013
  1. Merge pull request #340 from branch 'bwf-fix-pipe-ex-test'

    Bryan Fink committed Jun 19, 2013
  2. only silently drop DOWN-normal messages in deleted modstate

    This is a restriction of the modification made in PR #334.
    
    Dropping all {'DOWN',_,process,_,normal} messages on the floor instead
    of passing them to vnode handle_info functions causes riak_pipe vnodes
    to missing messages that it uses to cleanup workers for pipes that
    shutdown unexpectedly.
    
    This commit restricts the DOWN-normal message dropping to the case
    that the vnode's modstate is {deleted, _}. PR #334 suggests the original
    modification was made only to quiet the log spam generated by the
    following clause, which also only operates in modstate-deleted.
    
    Before this commit, the riak_test pipe_verify_exceptions would fail
    during its verify_middle_fitting_normal test, because workers would be
    left running after the fitting exited 'normal'. After this commit,
    workers are once again terminated correctly, so the test passes again.
    Bryan Fink committed Jun 19, 2013
Commits on Jun 17, 2013
  1. @engelsanchez

    Merge pull request #339 from basho/eas-fix-partition-repair-not-sent-fun

    Fix repair handoff crash, missing not sent fun
    engelsanchez committed Jun 17, 2013
  2. @jrwest
Commits on Jun 15, 2013
  1. @engelsanchez
Commits on Jun 14, 2013
  1. @russelldb
Commits on Jun 13, 2013
  1. @slfritchie

    Merge pull request #334 from basho/slf-no-log-spam-on-normal-shutdown

    Reporting 'normal' events is spammy, don't do it
    slfritchie committed Jun 12, 2013
Commits on Jun 12, 2013
  1. @russelldb

    Fix crashing stat mod never getting rescheduled

    1.3.1 updated the cache to fetch stats in the background rather than
    on demand. A new bug was added. If the stat mod crashes during
    production of stats, it is never rescheduled.
    
    Fix by rescheduling when crash is detected. Exponentially backoff
    the schedule after an error so as not to spam the log.
    russelldb committed Jun 12, 2013
Commits on Jun 7, 2013
  1. @slfritchie
Commits on Jun 4, 2013
  1. @evanmcc

    Merge pull request #332 from basho/pevm-timeout-guard

    update bad value protection for timer value
    evanmcc committed Jun 4, 2013
  2. @evanmcc

    remove superfluous case

    evanmcc committed Jun 4, 2013
Commits on Jun 3, 2013
  1. @evanmcc
  2. @jrwest

    fix forced_ownership_handoff during resize

    All resize operations remain in the ring's list of pending
    changes until all complete. Prior to this change transfers would
    only be triggered for the first forced_ownership_handoff operations.
    Subsequent operations would only be triggered by vnode *inactivity*.
    
    This commit modifies the use of forced_ownership_handoff during resize
    to ensure that only resize operations that are still pending are in
    the throttled transfer list.
    jrwest committed Jun 3, 2013
Commits on May 30, 2013
  1. @jrwest

    Merge pull request #330 from basho/jrw-infinity-timeout-fix

    dont start coverage timeout timer if timeout is infinite
    jrwest committed May 30, 2013
  2. @jrwest
  3. @engelsanchez
  4. @jrwest

    Merge pull request #329 from basho/staging-1.4

    Staging branch for several 1.4 features
    jrwest committed May 29, 2013
  5. @jtuple