-
Notifications
You must be signed in to change notification settings - Fork 201
vmdistributed: change default write requests load balancing policy from first_available to least_loaded #2099
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,7 +78,7 @@ func vmAgentTargetRef(vmAgents []*vmv1beta1.VMAgent, owner *metav1.OwnerReferenc | |
| ref := vmv1beta1.TargetRef{ | ||
| Name: "write", | ||
| URLMapCommon: vmv1beta1.URLMapCommon{ | ||
| LoadBalancingPolicy: ptr.To("first_available"), | ||
| LoadBalancingPolicy: ptr.To("least_loaded"), | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it needs to be complimented with removing exclude IDs from vmAgentTargetRef, so that we'd be writing in all zones (queues would grow when its being updated)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. vmagent is excluded as well in case if it can be restarted due to upgrade |
||
| RetryStatusCodes: []int{500, 502, 503}, | ||
| }, | ||
| Paths: []string{"/insert/.+", "/api/v1/write"}, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Custom agent: Changelog Review Agent
New changelog entry is missing required issue/PR reference links mandated by the changelog format.
Prompt for AI agents