Skip to content

Instantly share code, notes, and snippets.

@jrwest
Created November 12, 2013 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrwest/1001c05e427582516e34 to your computer and use it in GitHub Desktop.
Save jrwest/1001c05e427582516e34 to your computer and use it in GitHub Desktop.
riak_core_bg_manager.erl:367: Function head/0 has no local return
riak_core_bg_manager.erl:370: Function head/1 has no local return
riak_core_bg_manager.erl:373: Function head/2 has no local return
riak_core_bg_manager.erl:374: The call riak_core_bg_manager:head(Token::any(),0,NumSamples::any()) breaks the contract (bg_token(),bg_count(),bg_count()) -> [[bg_stat_hist()]]
riak_core_bg_manager.erl:657: Record construction #resource_info{type::'token',limit::{0,0},enabled::'true'} violates the declared type of field limit::'infinity' | 'undefined' | non_neg_integer() | {pos_integer(),pos_integer()}
riak_core_bg_manager.erl:718: The pattern 'false' can never match the type 'undefined' | pid()
riak_core_bg_manager.erl:718: The pattern 'true' can never match the type 'undefined' | pid()
riak_core_bg_manager.erl:855: Function update_stat_window/4 will never be called
riak_core_bg_manager.erl:871: Function remove_given_entries/2 will never be called
riak_core_bg_manager.erl:877: Function give_resource/2 has no local return
riak_core_bg_manager.erl:887: Function give_resource/6 has no local return
riak_core_bg_manager.erl:917: Function do_get_resource_blocking/7 has no local return
riak_core_bg_manager.erl:921: The variable Reply can never match since previous clauses completely covered the type {'reply','max_concurrency',#state{table_id::'undefined' | tid(),enabled::'false' | 'true' | 'undefined',window::'undefined' | [{_,_}],history::'undefined' | queue(),window_interval::'undefined' | pos_integer(),window_tref::'undefined' | reference()}}
riak_core_bg_manager.erl:947: Function enqueue_request/7 has no local return
riak_core_bg_manager.erl:1027: Function do_refill_tokens/2 has no local return
riak_core_bg_manager.erl:1033: Function default_refill/2 has no local return
riak_core_bg_manager.erl:1035: Record construction #bg_stat_hist{limit::0,refills::0,given::0,blocked::0} violates the declared type of field limit::'undefined' | pos_integer() and refills::'undefined' | pos_integer() and given::'undefined' | pos_integer() and blocked::'undefined' | pos_integer()
riak_core_bg_manager.erl:1037: Function default_given/3 has no local return
riak_core_bg_manager.erl:1039: Record construction #bg_stat_hist{limit::0,refills::0,given::0,blocked::0} violates the declared type of field limit::'undefined' | pos_integer() and refills::'undefined' | pos_integer() and given::'undefined' | pos_integer() and blocked::'undefined' | pos_integer()
riak_core_bg_manager.erl:1041: Function increment_stat_refills/2 has no local return
riak_core_bg_manager.erl:1047: Function increment_stat_given/3 has no local return
riak_core_bg_manager.erl:1053: Function increment_stat_blocked/2 has no local return
riak_core_bg_manager.erl:1057: Record construction #bg_stat_hist{limit::0,refills::0,given::0,blocked::0} violates the declared type of field limit::'undefined' | pos_integer() and refills::'undefined' | pos_integer() and given::'undefined' | pos_integer() and blocked::'undefined' | pos_integer()
riak_core_bg_manager.erl:1117: Record construction #bg_stat_hist{limit::0,refills::0,given::0,blocked::0} violates the declared type of field limit::'undefined' | pos_integer() and refills::'undefined' | pos_integer() and given::'undefined' | pos_integer() and blocked::'undefined' | pos_integer()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment