New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix l4lb delete lvs services unexpectedly #59
Conversation
l4lb manager has a mistake when caculating services to deleted and and to added. for example, we have 1,2,4,5 vips originally, and new vip 3 is added, so we have the following execution according to function generate_diff oldvips newvips toAdd toDelete Mutation 1. [1,2,4,5] [1,2,3,4,5] 2. [2,4,5] [2,3,4,5] [] [] [] 3. [4,5] [3,4,5] [] [] [] 4. [5] [3,4,5] [] [4] [] 5. [] [3,4,5] [] [4,5] [] return [3,4,5] [4,5] []
Can one of the admins verify this patch? |
Codecov Report
@@ Coverage Diff @@
## master #59 +/- ##
==========================================
+ Coverage 67.96% 68.03% +0.06%
==========================================
Files 48 48
Lines 2897 2900 +3
==========================================
+ Hits 1969 1973 +4
+ Misses 928 927 -1
Continue to review full report at Codecov.
|
[1.11] fix l4lb delete lvs services unexpectedly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mainred thank you very much for your contribution! |
JIRA: https://jira.mesosphere.com/browse/DCOS_OSS-3602
l4lb manager has a mistake when caculating services to deleted and
and to added.
for example, we have 1,2,4,5 vips originally, and new vip 3 is added,
so we have the following execution according to function generate_diff