introduce DBG_ASSERT/1,/2 (checked when enable_debug is defined) and ASSERT/1,/2 (checked always)


git-svn-id: https://scalaris.googlecode.com/svn/trunk@6118 71766da9-9752-0410-ab17-bfafa751c56a
rm_loop: update ExecFun to also receive the reason

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6119 71766da9-9752-0410-ab17-bfafa751c56a
slide_chord: abort slide in case of update_id_failed from rm

If the reason supplied by the ring maintenance is update_id_failed
abort the slide.

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6120 71766da9-9752-0410-ab17-bfafa751c56a
slide_chord: fix rm_loop reason of r6120

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6121 71766da9-9752-0410-ab17-bfafa751c56a
initialize comm_layer quieter

First check if we have a valid pid, then send out a message to the known
hosts. The ip address might have been already initialized by another
process contacting the mgmt server. This avoids send errors in case of
invalid known hosts. Don't use the {?quiet} send option because if no
valid known hosts have been supplied scalaris will hang forever without
an error message.

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6122 71766da9-9752-0410-ab17-bfafa751c56a
ASSERT macros for Erlangs < R13B04 fixing r6118.


git-svn-id: https://scalaris.googlecode.com/svn/trunk@6123 71766da9-9752-0410-ab17-bfafa751c56a
type_check_SUITE: fix wrong unregister value_creator call

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6124 71766da9-9752-0410-ab17-bfafa751c56a
tester: do not use util:sleep_for_ever/0 as it will not survive a second code reload

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6125 71766da9-9752-0410-ab17-bfafa751c56a
tester: fix some typos

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6126 71766da9-9752-0410-ab17-bfafa751c56a
tester: better (faster and also thread-safe) way of checking that an ets table exists

-> also require delete calls to have an existing table!

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6127 71766da9-9752-0410-ab17-bfafa751c56a
type_check_SUITE: extract histogram testing to a separate function

this avoids the histogram type checker and value creator to unnecessarily remain active for unrelated function tests

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6128 71766da9-9752-0410-ab17-bfafa751c56a
extract some debug functions into a separate module

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6129 71766da9-9752-0410-ab17-bfafa751c56a
several dialyzer fixes

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6130 71766da9-9752-0410-ab17-bfafa751c56a
rm_tman: do not call dn_cache:add_zombie_candidate/1 for nodes in the cache

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6131 71766da9-9752-0410-ab17-bfafa751c56a
rm_tman: more efficient update_nodes/4

adds special handling for 0 and 1-element NodesToRemove lists

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6132 71766da9-9752-0410-ab17-bfafa751c56a
nodelist: convert two debug checks to ?ASSERT statements

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6133 71766da9-9752-0410-ab17-bfafa751c56a
nodelist: do not call EvalFun twice for nodes both in pred and succ lists during remove or filter operations

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6134 71766da9-9752-0410-ab17-bfafa751c56a
gen_component: more generic handling of gen_component provided default messages (ping, send_to_group_member)

* also fix these two messages not having breakpoint handling
-> this fixes paused nodes from churn_SUITE sometimes re-appearing in the ring maintenance because dn_cache gets a ping message through

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6135 71766da9-9752-0410-ab17-bfafa751c56a
gen_component: we only support post_op or on_handler as gen_component commands so there is no need to go through a list of operations

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6136 71766da9-9752-0410-ab17-bfafa751c56a
gossip: fix types for the type_check_SUITE

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6137 71766da9-9752-0410-ab17-bfafa751c56a