anchor.diff:                                      {error, []};
                                   {_, RackId} ->
                                       case lists:keyfind(RackId, 1, RackL) of
  -                                        {_,_} when length(RackL) /= L2 andalso
  -                                                   NumOfReplicas - L2 < 1 ->
  +                                        {_,_} when length(RackL) /= NumOfRAs andalso
  +                                                   NumOfReplicas - NumOfRAs < 1 ->
                                               redundancies_3(
  -                                              TableInfo, NumOfReplicas, L2, Members, VNodeId, R);
  +                                              TableInfo, NumOfReplicas, NumOfRAs, Members, VNodeId, R);
                                           _ ->
                                               redundancies_3(
  -                                              TableInfo, NumOfReplicas -1, L2, Members, VNodeId,
  +                                              TableInfo, NumOfReplicas - 1, NumOfRAs, Members, VNodeId,
                                                 R#redundancies{
                                                   temp_nodes = [Node_2|AccTempNode],
                                                   temp_level_2 = AccLevel2_1,
  
positive.code:                 min_interval = ?DEF_SYNC_MIN_INTERVAL :: non_neg_integer(),
                  max_interval = ?DEF_SYNC_MAX_INTERVAL :: non_neg_integer(),
                  timestamp = 0 :: non_neg_integer(),
                  checksum = {-1,-1} :: {integer(), integer()}
                 }).
  
  -record(ring_conf, {
                      id = 0 :: non_neg_integer(),
                      ring_size = 0  :: non_neg_integer(),
                      group_size = 0  :: non_neg_integer(),
                      group_id = 0  :: non_neg_integer(),
  
negative.code:             case get_node_by_vnode_id(TableInfo, VNodeId_0) of
                  {ok, VNodeId_1} ->
                      redundancies_1(TableInfo, VNodeId_0, VNodeId_1,
                                     NumOfReplicas, NumOfRAs, Members_1);
                  {error, Cause} ->
                      {error, Cause}
              end;
          #?RING{node = Node} ->
              redundancies_2(TableInfo, VNodeId_0, VNodeId_0,
                             NumOfReplicas, NumOfRAs, Members_1, Node)
      end.
  
  %% @private
  redundancies_1(TableInfo, VNodeId_Org, VNodeId_Hop, NumOfReplicas, NumOfRAs, Members) ->
      case leo_cluster_tbl_ring:lookup(TableInfo, VNodeId_Hop) of
          {error, Cause} ->
              {error, Cause};
  