dpvs
dpvs copied to clipboard
different virutal-service may refer to the same address,when the addr…
…ess is operated by the script specified by quorum_own var, Add judgment of other virtual-service's quorum_state that refer the same address.
@weiyanhua100 Hello, as the struct virtual_server_t no longer has membe: addr_ip, I has test after deleting the param below: /* visit addr_ip list */ l = vsg->addr_ip; for (e = LIST_HEAD(l); e; ELEMENT_NEXT(e)) { vsg_entry = ELEMENT_DATA(e); ret |= vs_addr_cmp(addr, &vsg_entry->addr); } The code works OK without this param
@weiyanhua100 Hello, as the struct virtual_server_t no longer has membe: addr_ip, I has test after deleting the param below: /* visit addr_ip list */ l = vsg->addr_ip; for (e = LIST_HEAD(l); e; ELEMENT_NEXT(e)) { vsg_entry = ELEMENT_DATA(e); ret |= vs_addr_cmp(addr, &vsg_entry->addr); } The code works OK without this param
Has been removed and resubmitted,thx.