dpvs icon indicating copy to clipboard operation
dpvs copied to clipboard

different virutal-service may refer to the same address,when the addr…

Open weiyanhua100 opened this issue 5 years ago • 2 comments

…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 avatar Feb 13 '20 10:02 weiyanhua100

@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

azura27 avatar Sep 14 '20 03:09 azura27

@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.

weiyanhua100 avatar Sep 22 '20 01:09 weiyanhua100