Skip to content

optimize(sql-analyzer): cache observer list to reduce k8s api calls#915

Merged
chris-sun-star merged 1 commit intooceanbase:masterfrom
chris-sun-star:connection-opt
Jan 27, 2026
Merged

optimize(sql-analyzer): cache observer list to reduce k8s api calls#915
chris-sun-star merged 1 commit intooceanbase:masterfrom
chris-sun-star:connection-opt

Conversation

@chris-sun-star
Copy link
Copy Markdown
Member

Summary

I0127 09:33:38.616503 1 request.go:697] Waited for 1.0109763s due to client-side throttling, not priority and fairness, request: GET:https://10.43.0.1:443/apis/oceanbase.oceanbase.com/v1alpha1/namespaces/oceanbase/observers?labelSelector=ref-obcluster%3Dobcluster
sometimes got this in the log, use a cache to reduce K8s api calls

Solution Description

@chris-sun-star chris-sun-star merged commit 18d1c61 into oceanbase:master Jan 27, 2026
6 checks passed
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.

2 participants