-
Notifications
You must be signed in to change notification settings - Fork 36
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: expire NS server incorrectly handles updates from the NSE server #684
Merged
haiodo
merged 3 commits into
networkservicemesh:master
from
denis-tingaikin:fix-ns-expire-reg-serv
Feb 2, 2021
Merged
Fix: expire NS server incorrectly handles updates from the NSE server #684
haiodo
merged 3 commits into
networkservicemesh:master
from
denis-tingaikin:fix-ns-expire-reg-serv
Feb 2, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
denis-tingaikin
force-pushed
the
fix-ns-expire-reg-serv
branch
from
January 29, 2021 10:08
9c7671b
to
2d0b864
Compare
denis-tingaikin
force-pushed
the
fix-ns-expire-reg-serv
branch
3 times, most recently
from
January 29, 2021 12:59
ae93b48
to
aa740b3
Compare
denis-tingaikin
force-pushed
the
fix-ns-expire-reg-serv
branch
from
January 30, 2021 16:29
aa740b3
to
552dde0
Compare
…ry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
denis-tingaikin
force-pushed
the
fix-ns-expire-reg-serv
branch
from
February 1, 2021 06:10
552dde0
to
143bc47
Compare
Bolodya1997
reviewed
Feb 1, 2021
Bolodya1997
reviewed
Feb 1, 2021
denis-tingaikin
force-pushed
the
fix-ns-expire-reg-serv
branch
2 times, most recently
from
February 1, 2021 07:29
9728618
to
a605ae7
Compare
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
denis-tingaikin
force-pushed
the
fix-ns-expire-reg-serv
branch
from
February 1, 2021 07:37
a605ae7
to
814547e
Compare
Bolodya1997
approved these changes
Feb 1, 2021
haiodo
reviewed
Feb 2, 2021
haiodo
reviewed
Feb 2, 2021
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
denis-tingaikin
force-pushed
the
fix-ns-expire-reg-serv
branch
from
February 2, 2021 08:09
c099dc3
to
696f2e1
Compare
haiodo
approved these changes
Feb 2, 2021
nsmbot
pushed a commit
to networkservicemesh/cmd-registry-proxy-dns
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot
pushed a commit
to networkservicemesh/cmd-registry-memory
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot
pushed a commit
to networkservicemesh/sdk-kernel
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot
pushed a commit
to networkservicemesh/cmd-nse-icmp-responder
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot
pushed a commit
to networkservicemesh/sdk-k8s
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot
pushed a commit
to networkservicemesh/cmd-nsmgr-proxy
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot
pushed a commit
to networkservicemesh/cmd-nse-vfio
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot
pushed a commit
to networkservicemesh/cmd-nsmgr
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot
pushed a commit
to networkservicemesh/sdk-vpp
that referenced
this pull request
Feb 2, 2021
…k@master networkservicemesh/sdk#684 networkservicemesh/sdk PR link: networkservicemesh/sdk#684 networkservicemesh/sdk commit message: commit 9644842368e63e1f6f4aaa7fad49d6e027a6be46 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Tue Feb 2 23:33:23 2021 +0700 Fix: expire NS server incorrectly handles updates from the NSE server (#684) * 1. ns expire server should correctly handle a case when remote registry sent an update with deleted nse. 2. ns expire server should correctly count refs of network services in case of nse updates. Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> * apply review comments Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
This was referenced Feb 2, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Denis Tingaikin denis.tingajkin@xored.com
Motivation
expire
server should correctly handle a case when remote registry sent an update with deleted nse.expire
server should correctly count refs of network services in case of nse updates.Also added/improved unit tests to cover both scenarios.