Skip to content
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

Enable inactivity check on ovndb connection #4006

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

fanriming
Copy link
Member

Pull Request

What type of this PR

Examples of user facing changes:

  • Features
  • Bug fixes

Optimize the reconnection logic of the ovnnb client to avoid process suspension issues caused by frequent reconnection initialization in large-scale clusters.
The following are reference links for ovn-kubernetes and libovsdb:
https://github.com/ovn-org/ovn-kubernetes/blob/52e4cadc81bcbc779b85bb1831932b442fbeeeb0/go-controller/pkg/libovsdb/libovsdb.go#L84
https://github.com/ovn-org/libovsdb/pull/280/files

go.mod Outdated Show resolved Hide resolved
@oilbeater
Copy link
Collaborator

@fanriming the conflict should be resolved.

Signed-off-by: fanriming <fanriming@chinatelecom.cn>
pkg/ovs/ovn.go Outdated Show resolved Hide resolved
pkg/ovs/ovn.go Outdated Show resolved Hide resolved
fanriming and others added 2 commits May 31, 2024 16:49
Co-authored-by: 张祖建 <zhangzujian.7@gmail.com>
Co-authored-by: 张祖建 <zhangzujian.7@gmail.com>
@oilbeater
Copy link
Collaborator

@fanriming please fix the DCO

@zhangzujian zhangzujian merged commit a222b68 into kubeovn:master Jun 5, 2024
60 of 62 checks passed
bobz965 pushed a commit that referenced this pull request Jun 6, 2024
Signed-off-by: fanriming <fanriming@chinatelecom.cn>
Co-authored-by: 张祖建 <zhangzujian.7@gmail.com>
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Sep 4, 2024
Signed-off-by: fanriming <fanriming@chinatelecom.cn>
Co-authored-by: 张祖建 <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Sep 4, 2024
Signed-off-by: fanriming <fanriming@chinatelecom.cn>
Co-authored-by: 张祖建 <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Sep 4, 2024
Signed-off-by: fanriming <fanriming@chinatelecom.cn>
Co-authored-by: 张祖建 <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Sep 4, 2024
Signed-off-by: fanriming <fanriming@chinatelecom.cn>
Co-authored-by: 张祖建 <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants