Skip to content

Conversation

@ryanjbaxter
Copy link
Contributor

No description provided.

@ryanjbaxter ryanjbaxter force-pushed the closable-fabric8-client branch from 6253909 to febbe07 Compare October 23, 2024 12:06
@ryanjbaxter ryanjbaxter force-pushed the closable-fabric8-client branch from febbe07 to 0adfd8d Compare October 23, 2024 12:10
@ryanjbaxter
Copy link
Contributor Author

@wind57 thanks. I am still not really happy with this. Since KubernetesClient implements AutoClosable it seems like the close method should be called automatically. Maybe the timing in which that happens is too late 🤷‍♂️.

@wind57
Copy link
Contributor

wind57 commented Oct 23, 2024

@ryanjbaxter the build is going to fail, the cache download to blame... you might want to push a dummy commit to re-trigger

@ryanjbaxter ryanjbaxter changed the title close fabric 8 client Close Fabric8 Client When Context Is Stopped Oct 23, 2024
@ryanjbaxter ryanjbaxter added this to the 3.1.4 milestone Oct 23, 2024
@ryanjbaxter ryanjbaxter merged commit c6429b3 into spring-cloud:main Oct 23, 2024
14 checks passed
@wind57
Copy link
Contributor

wind57 commented Aug 12, 2025

@ryanjbaxter do you remember why we did this? I was trying to find a relevant issue, but no luck : https://github.com/spring-cloud/spring-cloud-kubernetes/issues?q=is%3Aissue%20state%3Aclosed%20created%3A2024-07-01..2024-10-22

The thing is, this fix causes a problem in a different place, in the leader election. a) we have an issue for it b) I can re-produce it. So I'm trying to see what was the underlying problem that triggered this

@ryanjbaxter
Copy link
Contributor Author

ryanjbaxter commented Aug 12, 2025

@wind57 I think it stemmed from this #1773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants