anchor.diff:              {ok, {Checksum, RingGroup2, FirstAddrId, LastAddrId}}
       end.
   
  -gen_routing_table_1({ok, #redundancies{nodes = Nodes}},
  -                    RingSize, GroupSize,
  -                    Id, AddrId, GId, IdxAcc, TblAcc, StAddrId) ->
  +gen_routing_table_1(
  +  {ok, #redundancies{nodes = Nodes}}, #ring_conf{id = Id,
  +                                                 ring_size    = RingSize,
  +                                                 group_size   = GroupSize,
  +                                                 group_id     = GId,
  +                                                 addr_id      = AddrId,
  +                                                 from_addr_id = FromAddrId,
  +                                                 index_list   = IdxAcc,
  +                                                 table_list   = TblAcc} = RingConf) ->
       Id1 = Id + 1,
       VNodeId_Nodes = #vnodeid_nodes{id = Id1,
  -                                   vnode_id_from = StAddrId,
  +                                   vnode_id_from = FromAddrId,
                                      vnode_id_to   = AddrId,
                                      nodes = Nodes},
   
  
positive.code:             FirstAddrId_1 =
                  case TblAcc of
                      [] ->
                          StAddrId;
                      _ ->
                          case lists:last(TblAcc) of
                              #vnodeid_nodes{id = 1} -> 0;
  
negative.code:             State
      end.
  
  maybe_sync_1_1(#sync_info{org_checksum = OrgChecksum,
                            cur_checksum = CurChecksum}, State) when OrgChecksum == CurChecksum ->
      State;
  maybe_sync_1_1(#sync_info{target = TargetRing,
                            num_of_replicas = NumOfReplicas,
                            num_of_rack_awareness = NumOfAwarenessL2,
                            members = Members}, State) ->
      case gen_routing_table(TargetRing, NumOfReplicas, NumOfAwarenessL2, Members) of
          {ok, {Checksum, RingGroupList, FirstAddrId, LastAddrId}} ->
              RingInfo = #ring_info{checksum = Checksum,
  