anchor.diff:  
   -define(DEF_NUM_OF_DIV, 32).
   
  --record(addrid_nodes, {
  -          id = 0            :: integer(),
  -          addr_id_from = 0  :: integer(),
  -          addr_id_to = 0    :: integer(),
  -          nodes             :: list(atom())
  -         }).
  -
  --record(ring_group, {
  -          index_from        :: integer(),
  -          index_to          :: integer(),
  -          addrid_nodes_list :: list(#addrid_nodes{})
  -         }).
  -
  --record(ring_info, {
  -          checksum = -1     :: integer(),
  -          first_addr_id     :: integer(),
  -          last_addr_id      :: integer(),
  -          ring_group_list   :: list(#ring_group{})
  -         }).
  -
   -record(state, {
             cur  = #ring_info{} :: #ring_info{},
             prev = #ring_info{} :: #ring_info{},
  
positive.code:                                        nodes = Nodes}|TblAcc],
  
              #addrid_nodes{id = FirstId,
                            addr_id_to = FirstAddrId} = lists:last(TblAcc),
              FirstAddrId_1 = case FirstId of
                                  1 -> 0;
                                  _ -> FirstAddrId
  
negative.code: %% @private
  reply_redundancies(not_found,_) ->
      not_found;
  reply_redundancies({ok, #addrid_nodes{addr_id_from = AddrIdFrom,
                                        addr_id_to   = AddrIdTo,
                                        nodes = Nodes}}, VNodeId) ->
      reply_redundancies_1(AddrIdFrom, AddrIdTo, VNodeId, Nodes, []).
  
  
  reply_redundancies_1(AddrIdFrom, AddrIdTo, VNodeId, [], Acc) ->
      {ok, #redundancies{id           = AddrIdTo,
                         addr_id_from = AddrIdFrom,
                         addr_id_to   = AddrIdTo,
                         vnode_id     = VNodeId,
                         nodes        = lists:reverse(Acc)}};
  reply_redundancies_1(AddrIdFrom, AddrIdTo, VNodeId, [Node|Rest], Acc) ->
      case leo_redundant_manager_table_member:lookup(Node) of
          {ok, #member{state = ?STATE_RUNNING}} ->
              reply_redundancies_1(AddrIdFrom, AddrIdTo, VNodeId, Rest, [{Node, true}|Acc]);
          {ok, #member{state = _State}} ->
              reply_redundancies_1(AddrIdFrom, AddrIdTo, VNodeId, Rest, [{Node, false}|Acc]);
          _ ->
              reply_redundancies_1(AddrIdFrom, AddrIdTo, VNodeId, Rest, Acc)
      end.
  
  
  