Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: rdb-cs-return-…
Commits on Mar 27, 2013
  1. @russelldb
Commits on Feb 26, 2013
  1. @jrwest

    Merge pull request #270 from basho/jrw-dialyzer-fixes

    jrwest authored
    Dialyzer Fixes
  2. @jrwest

    address some dialyzer warnings in riak_core_ring

    jrwest authored
    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. @jrwest

    remove dead code block in ring handler (found via dialyzer)

    jrwest authored
    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. @jrwest

    remove reference to riak_obect:bucket() type

    jrwest authored
    it doesn't exist in core. fixes dialyzer warning about non-existent type
  5. @jrwest

    fix dialyzer warnings in handoff manager

    jrwest authored
    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. @jrwest

    fix dialyzer warnings in node watcher

    jrwest authored
    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. @jrwest

    fix dialyzer warnings in vnode manager

    jrwest authored
    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. @jaredmorrow
Commits on Feb 23, 2013
  1. @engelsanchez

    Merge pull request #274 from basho/eas-parallel-vnode-init

    engelsanchez authored
    Allow parallel vnode initialization
Commits on Feb 21, 2013
  1. @engelsanchez

    Fix cluster into to query vnode manager, not sup

    engelsanchez authored
    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. @engelsanchez

    Add concurrency control to vnode initialization

    engelsanchez authored
    Also, a bit of code cleanup.
    New pmap with bounded concurrency utility added with unit tests.
Commits on Feb 14, 2013
  1. @jaredmorrow
Commits on Feb 12, 2013
  1. @engelsanchez

    Allow vnode init to happen in parallel

    engelsanchez authored
    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. @jaredmorrow

    Merge branch '1.3'

    jaredmorrow authored
Commits on Jan 29, 2013
  1. @jaredmorrow
  2. @jaredmorrow
  3. @jaredmorrow
  4. @jaredmorrow
Commits on Jan 23, 2013
  1. Merge pull request #268 from basho/sdc-fix-urlmap

    Sean Cribbs authored
    Fix riak_core_wm_urlmap
  2. Fix riak_core_wm_urlmap.

    Sean Cribbs authored
    When the webmachine dispatch list was moved to ETS, this resource was
    not changed to reflect that, and so it still hit the application env
    for the dispatch list, resulting in a badmatch error because the key
    was not set.
Commits on Jan 3, 2013
  1. @jtuple
  2. @jtuple

    Fix bug in riak_core_util:rpc_every_member_ann

    jtuple authored
    The utility fun rpc_every_member_ann, uses by several status/console
    commands, was written assuming rpc:multicall returned results in the
    same order as the provided node list. This is an invalid assumption.
    This commit fixes rpc_every_member_ann as well as adds several
    additional utility functions to riak_core_util: pmap, multi_rpc,
    multi_rpc_ann, and multicall_ann.
  3. @engelsanchez

    Merge pull request #264 from basho/eas-fix-vnode-terminate-abnormal-r…

    engelsanchez authored
    …eason
    
    Make vnode terminate backend for any exit reason
  4. @engelsanchez
  5. Merge pull request #251 from basho/readme-rewrite

    Sean Cribbs authored
    rewriting revised readme in .md and removing .org version.
  6. Line wrap stuff.

    Sean Cribbs authored
Commits on Jan 2, 2013
  1. @engelsanchez

    Wrapping pool shutdown in try/catch

    engelsanchez authored
    Making sure that we really always call terminate to avoid other issues
    like basho/riak_test#137
  2. @engelsanchez

    Make vnode terminate backend for any exit reason

    engelsanchez authored
    This should fix issue basho/riak_test#137, where partition repair was
    killing vnodes with reason kill_for_test and experiencing sporading
    bitcask data corruption.
Commits on Dec 20, 2012
  1. @jaredmorrow
  2. @jtuple

    Merge pull request #259 from basho/jdb-supervisor-order

    jtuple authored
    Adjust riak_core_sup child order for cleaner shutdown
  3. @jtuple
  4. @jtuple
  5. @jrwest
  6. @jtuple
Something went wrong with that request. Please try again.