diff options
author | Brad Anderson <brad@cloudant.com> | 2010-05-25 15:21:45 -0400 |
---|---|---|
committer | Brad Anderson <brad@cloudant.com> | 2010-05-25 15:21:45 -0400 |
commit | cb2e6b3b258f1ccda74aa7bc96ec07b1da35bceb (patch) | |
tree | 076c489c01646ee4b502740d49642cc09d16a284 /src/mem3.erl | |
parent | 0bcc808ce4787da27bda33dff3c8e377094b7042 (diff) |
all_databases now working with/without Customer param, types moved to mem.hrl, view updater thwarted for updates to dbs db.
Diffstat (limited to 'src/mem3.erl')
-rw-r--r-- | src/mem3.erl | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/mem3.erl b/src/mem3.erl index a834010a..d5a96605 100644 --- a/src/mem3.erl +++ b/src/mem3.erl @@ -34,32 +34,12 @@ terminate/2, code_change/3]). %% includes +-include("../include/membership.hrl"). -include_lib("eunit/include/eunit.hrl"). -%% version 3 of membership state --record(mem, {header=3, - nodes=[], - clock=[], - args - }). - -define(SERVER, membership). -define(STATE_FILE_PREFIX, "membership"). -%% types - stick somewhere in includes? --type join_type() :: init | join | replace | leave. --type join_order() :: non_neg_integer(). --type options() :: list(). --type mem_node() :: {join_order(), node(), options()}. --type mem_node_list() :: [mem_node()]. --type arg_options() :: {test, boolean()}. --type args() :: [] | [arg_options()]. --type mem_state() :: #mem{}. --type test() :: undefined | node(). --type epoch() :: float(). --type clock() :: {node(), epoch()}. --type vector_clock() :: [clock()]. --type ping_node() :: node() | nil. %%==================================================================== %% API |