You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now nomad doesn't allow make cancel for rpc calls, and with this we have some problems #4604 example). So it will be nice if nomad will implement such functionality (i suspect that is best aproach to implement this using golang context concept, for exmaple we can get this context from http Requesthttps://golang.org/pkg/net/http/#Request.Context), so it can minimize impact of various network problems, and perhaps allowed to localize some bugs
But this approach have some troubles:
IMHO is relatively hard work, due it required change many signatures of methods
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Now nomad doesn't allow make cancel for rpc calls, and with this we have some problems #4604 example). So it will be nice if nomad will implement such functionality (i suspect that is best aproach to implement this using golang
context
concept, for exmaple we can get this context fromhttp Request
https://golang.org/pkg/net/http/#Request.Context), so it can minimize impact of various network problems, and perhaps allowed to localize some bugsBut this approach have some troubles:
net/rpc
package which is frozen now, but exist a fork of this library(https://github.com/keegancsmith/rpc) which add golangContext
(https://golang.org/pkg/context/) support, but robustness of this fork not checked and it may contain some bugsThe text was updated successfully, but these errors were encountered: