Conversation
|
Skipping CI for Draft Pull Request. |
|
@dcantah I think you've played with grpc stuff recently, pls PTAL. |
|
@dmcgowan also as we were chatting on the history of a lot of these options on slack a bit ago. We were wondering if we would be able to just forego WithBlock today like we do here |
3c8c416 to
20aebe7
Compare
|
I believe the original issue like 8 years was related to clients connecting and when the daemon was not online the client would end up hanging. Now in that case it seems to be handled better with this PR. In this PR... it comes back in 1 second. Although would be good to avoid the warning log. In main... it takes 10 seconds to timeout. |
|
Windows needed workaround 20aebe7. Everything else looks green.
@dmcgowan The warning is coming from an extra call to introspection service when creating a client in |
|
@mxpv @dcantah Is the containerd/core/runtime/v2/shim.go Line 311 in ccc41e6 |
|
@ZhangShuaiyi Good question, I'm not sure. The reason for it was so that on restart we can tell what shims to ignore if they're not responding when going to reload state (usually because they crashed for some reason so the socket isn't listening). We already had that info with |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Signed-off-by: Maksym Pavlenko <[email protected]>
Signed-off-by: Maksym Pavlenko <[email protected]>
… addresses Signed-off-by: Maksym Pavlenko <[email protected]>
Bump GRPC to 1.64
|
@kzys Could you enqueue this again? |
This is follow up to #10247 with linter fixes.
GRPC
1.64deprecates lots of functions that we currently use to create a new GRPC connection:grpc.Dial/grpc.DialContextWithBlock,WithTimeout,WithReturnConnectionError, andFailOnNonTempDialError.Notably, Anti-Patterns of Client creation explicitly mentions that we should not create the client the way we do.
This PR removes deprecated dial options, AFAIU there are no alternatives to provide and the old approach is just not recommended by the GRPC team.