-
Notifications
You must be signed in to change notification settings - Fork 19
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
changes in direct memif implementation #377
changes in direct memif implementation #377
Conversation
667742a
to
2d1d797
Compare
Signed-off-by: Mikhail Avramenko <[email protected]>
2d1d797
to
e5c30c4
Compare
@Mixaster995 I'm a little curious why you are fixing this in mechanism/memif/client.go instead of in mechanism/memif/memifproxy ? It looks like you are simply replicating logic the memif proxy has for not recreating proxies for existing connections, only in memif/ rather than memif/proxy. |
Signed-off-by: Mikhail Avramenko <[email protected]>
Hello, @edwarnicke. Current direct memif logic working like this:
With this fixes current logic is:
Thus, we removing excessive memif creation on client side of forwarder, because it is not actually needed in direct memif scenario. And it is also eliminates leak reported in networkservicemesh/deployments-k8s#2381 |
@Mixaster995 After much poking at it, this looks good. Could you flip to ready to review so we can merge it? |
…k-vpp@main PR link: networkservicemesh/sdk-vpp#377 Commit: db4ea46 Author: Авраменко Михаил Date: 2021-09-20 19:25:15 +0700 Message: - changes in direct memif implementation (#377) * changes in direct memif implementation Signed-off-by: Mikhail Avramenko <[email protected]> * review fixes Signed-off-by: NSMBot <[email protected]>
…k-vpp@main PR link: networkservicemesh/sdk-vpp#377 Commit: db4ea46 Author: Авраменко Михаил Date: 2021-09-20 19:25:15 +0700 Message: - changes in direct memif implementation (#377) * changes in direct memif implementation Signed-off-by: Mikhail Avramenko <[email protected]> * review fixes Signed-off-by: NSMBot <[email protected]>
…k-vpp@main PR link: networkservicemesh/sdk-vpp#377 Commit: db4ea46 Author: Авраменко Михаил Date: 2021-09-20 19:25:15 +0700 Message: - changes in direct memif implementation (#377) * changes in direct memif implementation Signed-off-by: Mikhail Avramenko <[email protected]> * review fixes Signed-off-by: NSMBot <[email protected]>
…k-vpp@main PR link: networkservicemesh/sdk-vpp#377 Commit: db4ea46 Author: Авраменко Михаил Date: 2021-09-20 19:25:15 +0700 Message: - changes in direct memif implementation (#377) * changes in direct memif implementation Signed-off-by: Mikhail Avramenko <[email protected]> * review fixes Signed-off-by: NSMBot <[email protected]>
Signed-off-by: Mikhail Avramenko [email protected]
Related issues
networkservicemesh/deployments-k8s#2381
#373
Description
To fix problem with nse-composition i made and tested rework for direct memif.