seyyed / scalaris

Automatically exported from code.google.com/p/scalaris
Apache License 2.0
0 stars 0 forks source link

check_config also for ?RTs #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I suggest having a check_config routine also for the routing table(s).
This would apply e.g. following code changes:

src/config.erl:146
+++         ?RT:check_config() and

src/rt_chord.erl: (as an example)
+++ -export([check_config/0]).
...
+++ -spec(check_config/0 :: () -> boolean()).
+++ check_config() ->
+++    config:is_integer(chord_base) andalso
+++    config:is_greater_than_equal(chord_base, 2).

Original issue reported on code.google.com by Uwe.Daue...@gmail.com on 12 Apr 2010 at 9:40

GoogleCodeExporter commented 8 years ago
Done. see r727.

Original comment by schu...@gmail.com on 26 Apr 2010 at 3:50