Permalink
Switch branches/tags
Commits on May 11, 2013
Commits on Apr 12, 2013
  1. First draft (3rd edition), ready for some review

    slfritchie committed Apr 5, 2013
    Vnode replies always go via reply(), and reply() always uses unreliable
    messaging.  (As opposed to the usual (and more reliable) send-and-pray
    messaging.)
    
    During handoff, all forwarding requests use unreliable vnode master
    commands to avoid net_kernel blocking interference.
Commits on Apr 5, 2013
  1. Implement SSL support for riak_core_connection and riak_core_service_mgr

    Dave Parfitt authored and Vagabond committed Mar 21, 2013
    This is a port of the SSL implementation from Riak's MDC implementation.
    The app.config arguments are the same, only now they're under riak_core.
    
    SSL is negotiated right after capabilities are exchanged, so minimal
    information is sent 'in the clear'. If one side requests SSL and the
    other side does not have it enabled, SSL is not allowed to connect.
Commits on Apr 3, 2013
  1. Merge pull request #292 from basho/dip_pin_ranch

    Dave Parfitt
    Dave Parfitt committed Apr 3, 2013
    use custom Ranch build to support R14B03|4
  2. use custom Ranch build to support R14B03|4

    Dave Parfitt
    Dave Parfitt committed Apr 3, 2013
Commits on Apr 1, 2013
  1. Merge pull request #289 from basho/dip_typos

    Dave Parfitt
    Dave Parfitt committed Apr 1, 2013
    fixed typos found by @DeadZen
  2. fixed typos found by @DeadZen

    Dave Parfitt
    Dave Parfitt committed Apr 1, 2013
Commits on Mar 20, 2013
  1. Merge pull request #284 from basho/dip_conn_mgr

    Dave Parfitt
    Dave Parfitt committed Mar 20, 2013
    initial add of the Riak Core Connection Manager
    
    We'll be circling back to fix the Ranch incompatibilities with R14B03|4 soon.
Commits on Mar 18, 2013
  1. added ranch as a dep for connection manager tests

    Dave Parfitt
    Dave Parfitt committed Mar 18, 2013
  2. Merge branch 'dip_conn_mgr' of github.com:basho/riak_core into dip_co…

    Dave Parfitt
    Dave Parfitt committed Mar 18, 2013
    …nn_mgr
  3. add connection manager tests from repl

    Dave Parfitt
    Dave Parfitt committed Mar 18, 2013
Commits on Mar 15, 2013
Commits on Mar 13, 2013
  1. initial add of the Riak Core Connection Manager

    Dave Parfitt
    Dave Parfitt committed Mar 13, 2013
Commits on Mar 12, 2013
  1. Merge pull request #282 from basho/csm-extract-pending-ring

    cmeiklejohn committed Mar 12, 2013
    Extract out and export pending claim function.
Commits on Feb 26, 2013
  1. Merge pull request #270 from basho/jrw-dialyzer-fixes

    jrwest committed Feb 26, 2013
    Dialyzer Fixes
  2. address some dialyzer warnings in riak_core_ring

    jrwest committed Feb 1, 2013
    addresses:
      L241: Record construction [...] violates the declared type of field vclock::'undefined' |
            vclock:vclock() and meta::'undefined' | dict()
      L305: Function fresh/0 has no local return
      L312: Function fresh/1 has no local return
      L318: Function fresh/2 has no local return
      L321: Record construction [...] violates the declared type of field nodename::atom() and
            clustername::'undefined' | {atom(),_} and members::'undefined' | [{atom(),{'down' |
            'exiting' | 'invalid' | 'joining' | 'leaving' | 'valid',vclock:vclock(),[]}}] and
            claimant::atom() and seen::'undefined' | [{atom(),vclock:vclock()}]
      L1013: Function reconcile_divergent/3 will never be called
      L1062: Function reconcile_next/2 will never be called
      L1075: Function reconcile_divergent_next/2 will never be called
      L1091: Function substitute/3 will never be called
      L1092: The created fun has no local return
      L1103: Function reconcile_ring/3 will never be called
      L1229: Function equal_cstate/2 has no local return
      L1232: Function equal_cstate/3 has no local return
      L1241: Record construction [...] violates the declared type of field
             vclock::'undefined' | vclock:vclock() and chring::'undefined' |
             {integer(),[{integer(),_}]} and meta::'undefined' | dict() and
             clustername::'undefined' | {atom(),_} and members::'undefined' | [{atom(),
             {'down' | 'exiting' | 'invalid' | 'joining' | 'leaving' | 'valid',vclock:vclock(),[]}}]
              and seen::'undefined' | [{atom(),vclock:vclock()}] and rvsn::'undefined' |
              vclock:vclock()
    
    does not address:
      L240: Function nearly_equal/2 has no local return
      L430: Function reconcile/2 has no local return
      L965: Function internal_reconcile/2 has no local return
      L1014: Function reconcile_divergent/3 has no local return
      L1104: Function reconcile_ring/3 has no local return
      L1252: The pattern 'true' can never match the type 'false'
  3. remove dead code block in ring handler (found via dialyzer)

    jrwest committed Jan 31, 2013
    riak_core:wait_for_application/1 has never returned anything besides ok
    (it has no timeout) unlike its predecessor.
    
    Code changed to remove timeout/error in this commit:
    63334d3
  4. remove reference to riak_obect:bucket() type

    jrwest committed Jan 31, 2013
    it doesn't exist in core. fixes dialyzer warning about non-existent type
  5. fix dialyzer warnings in handoff manager

    jrwest committed Jan 31, 2013
    addresses
      L163: The pattern [...] can never match the type {'error','max_concurrency'}
      L504: Record construction [...] violates the declared type of field mod_src_tgt::'undefined' | {atom() | tuple(),integer(),integer()}
  6. fix dialyzer warnings in node watcher

    jrwest committed Jan 31, 2013
    addresses:
      L756: The created fun has no local return
      L757: The call erlang:apply(Mod::atom(),Func::atom(),nonempty_improper_list('undefined' | pid(),byte())) will
            never return since it differs in the 3rd argument from the success typing arguments:
            (atom() | tuple(),atom(),[any()])
      L757: Cons will produce an improper list since its 2nd argument is byte()
      L770: Function health_check_result/2 will never be called
  7. fix dialyzer warnings in vnode manager

    jrwest committed Jan 31, 2013
    addresses:
      L560: Function update_forwarding/3 has no local return
      L563: Record construction [...] violates the declared type of field forwarding::'undefined' | [pid()]
      L670: The pattern [{MI, Node} | _] can never match the type 'undefined' | [pid()]
      L672: The pattern [{MI, Node} | _] can never match the type 'undefined' | [{_,integer(),pid(),atom()}]
Commits on Feb 25, 2013
  1. Change webmachine dependency to roll back to working version

    Jared Morrow
    Jared Morrow committed Feb 25, 2013
    Addresses temporarily basho/riak#280
Commits on Feb 23, 2013
  1. Merge pull request #274 from basho/eas-parallel-vnode-init

    engelsanchez committed Feb 23, 2013
    Allow parallel vnode initialization
Commits on Feb 21, 2013
  1. Fix cluster into to query vnode manager, not sup

    engelsanchez committed Feb 21, 2013
    With the parallel vnode change, there is more reason to not query the
    supervisor directly, as its children may not have finished
    initialization yet.
  2. Add concurrency control to vnode initialization

    engelsanchez committed Feb 21, 2013
    Also, a bit of code cleanup.
    New pmap with bounded concurrency utility added with unit tests.
Commits on Feb 14, 2013
  1. Merge pull request #241 from evanmcc/pevm_handoff_recv_timeout

    Jared Morrow
    Jared Morrow committed Feb 14, 2013
    potential fix for #185
Commits on Feb 12, 2013
  1. Allow vnode init to happen in parallel

    engelsanchez committed Feb 12, 2013
    Added an extra state to riak_core_vnode to decouple vnode initialization
    from process creation.
    Added a function to block until initialization is truly finished.
    Vnode init call now takes a list of indices or single index.
    The list version creates vnode processes first, then waits for them to
    initialize, which allows it to happen in parallel.
    Used the above in riak_core_ring_handler when starting services
    on first ring event.
    Tests show I/O saturation at bitcask startup now, instead of the
    serialized trickle we had.
    This code still needs some work to handle edge cases, specially around
    how to handle vnode initialization failing.
Commits on Jan 31, 2013
  1. Merge branch '1.3'

    Jared Morrow
    Jared Morrow committed Jan 31, 2013
Commits on Jan 29, 2013
  1. Roll version riak_core 1.3.0

    Jared Morrow
    Jared Morrow committed Jan 29, 2013
  2. Fix dependencies on tags for 1.3

    Jared Morrow
    Jared Morrow committed Jan 29, 2013
  3. Update dep on protobuffs to be 0.8.*

    Jared Morrow
    Jared Morrow committed Jan 29, 2013
  4. Change dep on lager to 1.2.2 to match the rest of riak

    Jared Morrow
    Jared Morrow committed Jan 29, 2013
Commits on Jan 23, 2013
  1. Merge pull request #268 from basho/sdc-fix-urlmap

    seancribbs committed Jan 23, 2013
    Fix riak_core_wm_urlmap