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

Cherry pick health probes #904

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

niladrih
Copy link
Member

No description provided.

The readiness check API depends on the agent-core service's Node gRPC endpoint.
The current RwLock lets multiple tokio threads probe the agent-core. This is not
ideal. This change makes the get operation atomic, so that agent-core state cache
updates could be performed by only a single thread, and the updated cache should
feed the next few ready calls.

Signed-off-by: Niladri Halder <[email protected]>
@niladrih niladrih force-pushed the cherry-pick-health-probes branch from 34fc578 to 518a5ca Compare December 10, 2024 09:02
@niladrih
Copy link
Member Author

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit d54a84d into release/2.7 Dec 10, 2024
4 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the cherry-pick-health-probes branch December 10, 2024 09:47
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