-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lsp may lost when server pressure is high
When server under high pressure, etcd and ovn-db changes leader frequently, sometimes the pod has the allocation ready annotation but the lsp is lost. Some possible reasons are: 1. When ovn-db changes the leader, the lsp data is not propagate to all instances and leader change, the lsp is not persistent but we have already write back the annotation. 2. The lsp has been written to all ovn-db instances, but etcd changes the leader the apiserver takes long time to process the annotation write request. During this period the gc process is triggered and recycles the lsp before the annotation write success. To resolve it: 1. Add --wait=sb to ovn-nbctl and hope it can persist more data before leader change to amend 1 2. Extend gc interval to amend 2 3. When it happens again log it
- Loading branch information
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters