-
Notifications
You must be signed in to change notification settings - Fork 547
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
journal: only destroy the connection if it is set #4904
Conversation
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
Prevent re-use of a destroyed connection by setting it to `nil`. This way it is also safe to call `Destroy()` multiple times without causing a panic. Signed-off-by: Niels de Vos <[email protected]>
a2de8b5
to
15b14a2
Compare
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/k8s-e2e-external-storage/1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.29 |
/test ci/centos/mini-e2e/k8s-1.29 |
/test ci/centos/k8s-e2e-external-storage/1.31 |
/test ci/centos/mini-e2e-helm/k8s-1.31 |
/test ci/centos/mini-e2e/k8s-1.31 |
/test ci/centos/k8s-e2e-external-storage/1.30 |
/test ci/centos/mini-e2e-helm/k8s-1.30 |
/test ci/centos/mini-e2e/k8s-1.30 |
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
@Mergifyio rebase |
☑️ Nothing to do
|
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/k8s-e2e-external-storage/1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.29 |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/k8s-e2e-external-storage/1.31 |
/test ci/centos/mini-e2e/k8s-1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.31 |
/test ci/centos/k8s-e2e-external-storage/1.30 |
/test ci/centos/mini-e2e/k8s-1.31 |
/test ci/centos/mini-e2e-helm/k8s-1.30 |
/test ci/centos/mini-e2e/k8s-1.30 |
/test ci/centos/upgrade-tests |
/retest ci/centos/k8s-e2e-external-storage/1.29 |
/retest ci/centos/k8s-e2e-external-storage/1.30 |
/retest ci/centos/k8s-e2e-external-storage/1.31 |
/retest ci/centos/mini-e2e-helm/k8s-1.29 |
/retest ci/centos/mini-e2e-helm/k8s-1.30 |
/retest ci/centos/mini-e2e/k8s-1.29 |
@Mergifyio requeue Infrastructure issues seem to be resolved. |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
/retest ci/centos/mini-e2e/k8s-1.29 |
|
Prevent re-use of a destroyed connection by setting it to
nil
. Thisway it is also safe to call
Destroy()
multiple times without causing apanic.
Found while working on #4502.