dpvs
dpvs copied to clipboard
fix refcount issue when adding/removing VIP group
- Increase VS's refcount when adding one RS
- Decrease VS's refcount when deleteing one RS
- Remove VS when its refcount is zero(No RS associated)
@royhunter the commit "@royhunter
fix refcount issue when adding/removing VIP group" is test OK for the solution of https://github.com/iqiyi/dpvs/issues/631, Thanks a lot
@ywc689
@royhunter When you are free , please delete the commit of "enable coredump generation" on the PR, for the commit has been PR ed at https://github.com/iqiyi/dpvs/pull/619
Yes. I've tested that this PR (the refcount commit within it) fixes the keepalived issue #631