Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 22, 2012
  1. @jtuple

    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. @russelldb

    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 Jun 19, 2012
  1. @jtuple

    Default to auto-joining when older nodes join the cluster

    jtuple authored
    Treat old-nodes joining the cluster the same as new nodes joining
    the cluster with the "auto-join" property, since older nodes do
    not support staged joins.
Commits on Jun 1, 2012
  1. @russelldb

    Merge pull request #179 from basho/rdb-folsomise

    russelldb authored
    Use folsom stats for riak_core
Commits on May 21, 2012
  1. @russelldb
Commits on Apr 27, 2012
  1. @jtuple
Commits on Apr 2, 2012
  1. @jtuple
Commits on Sep 3, 2011
  1. @jtuple

    Overhaul cluster membership, ring format, and gossip protocol

    jtuple authored
    Tickets: AZ462 AZ533 AZ630 AZ642
    Fixes: BZ1024 BZ878 BZ688 BZ931 BZ869
    
    Change cluster membership/gossip/ring in the following manner:
    -- Partition ownership and cluster membership are decoupled concepts.
    
    -- A single node in the cluster makes all partition claim decisions
       in a deterministic manner, avoiding endless churn possible in random
       merging. This single node (the claimant) can be assumed by any node in the
       cluster, and therefore avoids introducing a single point of failure.
    
    -- All data from all vnode modules is guaranteed to be handed off to a new
       owner before the owner takes over ownership for a partition, thus avoiding
       requests prematurely being sent to a node that does not yet have the data.
    
    -- Nodes will always handoff their data before cleaning exiting the cluster,
       even if the node is restarted before finishing handoff.
    
    -- Waiting for ring convergence is now part of the gossip/membership protocol,
       and is used to ensure consistent ring transitions across the cluster.
    
    -- Joining/leaving a cluster is handled more gracefully, and there is no
       need to wait for ring convergence (riak-admin ring-ready) as is previously
       suggested. Adding 20 nodes to a cluster at once should "just work".
    
    -- Handoff related to partition ownership changes can now occur under load,
       therefore allowing a cluster to scale up/down while handling normal
       requests.
    
    Other changes:
    -- Support for new commands: member_status, ring_status.
    -- Tracking of various new riak_core stats.
Commits on Jul 19, 2011
  1. @Vagabond

    Final round of tweaking log messages

    Vagabond authored
    az475
Commits on Jul 16, 2011
  1. @Vagabond

    Improve the log messages

    Vagabond authored
Commits on Jul 14, 2011
  1. @Vagabond

    Switch to lager logging API

    Vagabond authored
Commits on Apr 4, 2011
  1. @argv0

    Squashed commit of the following:

    argv0 authored
    commit 054e5f9
    Author: argv0 <andy@basho.com>
    Date:   Fri Apr 1 16:22:39 2011 -0700
    
        revert riak_core_node_watcher to old handler usage
    
    commit d8618bd
    Author: argv0 <andy@basho.com>
    Date:   Fri Apr 1 15:04:28 2011 -0700
    
        remove whitespace change
    
    commit 4c863b6
    Author: argv0 <andy@basho.com>
    Date:   Fri Apr 1 14:34:25 2011 -0700
    
        revert to tracking handler funs with refs
    
    commit dc64975
    Author: argv0 <andy@basho.com>
    Date:   Fri Apr 1 13:43:02 2011 -0700
    
        implement deletion of guarded handlers
    
    commit 9aced05
    Merge: 9861b00 257f7a6
    Author: argv0 <andy@basho.com>
    Date:   Thu Mar 31 12:07:22 2011 -0700
    
        merge
    
    commit 9861b00
    Author: argv0 <andy@basho.com>
    Date:   Thu Mar 31 12:01:49 2011 -0700
    
        docs and proper setup/teardown of test
    
    commit 76f99e0
    Author: argv0 <andy@basho.com>
    Date:   Thu Mar 31 00:32:17 2011 -0700
    
        tests for guarded handlers
    
    commit efc8574
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 22:51:01 2011 -0700
    
        some renaming, allow traditional, non-guarded handlers and callbacks.
    
        use fun_info(Fn, uniq) rather than refs to identify callback handlers.
    
    commit 63de188
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 18:44:19 2011 -0700
    
        supervised handlers already produce a lot of sasl noise - default exitfun = noop
    
    commit ec6cad2
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 18:43:15 2011 -0700
    
        make node_watcher callback use regname instead of pid so an external minder process can work
    
    commit 332793f
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 16:02:44 2011 -0700
    
        support exitfuns in riak_core_eventhandler_guard
    
    commit 65e5b4c
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 13:01:23 2011 -0700
    
        rename handler_* to eventhandler_*
    
    commit 400d1fd
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 12:50:31 2011 -0700
    
        fix node_watcher_qc to start handler supervisor
    
    commit 70b0bfb
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 12:37:08 2011 -0700
    
        first stab at handler supervision with dedicated supervisor and guard processes
    
    commit 257f7a6
    Author: argv0 <andy@basho.com>
    Date:   Thu Mar 31 00:32:17 2011 -0700
    
        tests for guarded handlers
    
    commit 8a210ec
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 22:51:01 2011 -0700
    
        some renaming, allow traditional, non-guarded handlers and callbacks.
    
        use fun_info(Fn, uniq) rather than refs to identify callback handlers.
    
    commit 4ed25c9
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 18:44:19 2011 -0700
    
        supervised handlers already produce a lot of sasl noise - default exitfun = noop
    
    commit cd1f5a0
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 18:43:15 2011 -0700
    
        make node_watcher callback use regname instead of pid so an external minder process can work
    
    commit 3fe083c
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 16:02:44 2011 -0700
    
        support exitfuns in riak_core_eventhandler_guard
    
    commit e35e141
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 13:01:23 2011 -0700
    
        rename handler_* to eventhandler_*
    
    commit d359aa7
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 12:50:31 2011 -0700
    
        fix node_watcher_qc to start handler supervisor
    
    commit 1b9709b
    Author: argv0 <andy@basho.com>
    Date:   Wed Mar 30 12:37:08 2011 -0700
    
        first stab at handler supervision with dedicated supervisor and guard processes
Commits on Mar 31, 2011
  1. @slfritchie

    AZ 223: Move basic info generator from riak_core -> cluster_info OTP app

    slfritchie authored
    See commit by same tag/1st line in the cluster_info repo, also under
    the branch name az223-cluster-info-basics.
Commits on Feb 22, 2011
  1. @jonmeredith

    Refactoring riak_core_ring_manager to handle writes after ring_trans.

    jonmeredith authored
    Development checkin for handover to Scott - code does not work yet.
Commits on Feb 3, 2011
  1. @slfritchie
Commits on Feb 2, 2011
  1. @slfritchie
Commits on Jan 28, 2011
  1. @beerriot

    move default_bucket_props from .app to _app.erl (bz://123)

    beerriot authored
    If they're in riak_core.app, they get overwritten by anything in
    app.config.  With them in _app.erl, they can be used to supplement
    settings specified in app.config.
Commits on Dec 1, 2010
  1. @slfritchie
Commits on Nov 12, 2010
  1. @slfritchie
Commits on Jul 21, 2010
  1. @argv0

    initial import

    argv0 authored
Something went wrong with that request. Please try again.