Skip to content

Conversation

@weirdwiz
Copy link
Contributor

@weirdwiz weirdwiz commented Jan 6, 2026

  • Move slow Ceph CLI operations outside mutex lock to prevent blocking metric collectors during cache refresh
  • Previously the lock was held for up to 3 minutes with 100+ PVs, causing /metrics endpoint timeouts
  • Refactored Add() and Resync() to prepare data outside lock, then apply atomically

Fixes: https://issues.redhat.com/browse/DFBUGS-4988

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 6, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: weirdwiz
Once this PR has been reviewed and has the lgtm label, please assign agarwal-mudit for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@iamniting
Copy link
Member

@aruniiird @SanjalKatiyar Can you pls take a look?

Move slow Ceph CLI operations outside mutex lock to prevent blocking
metric collectors during cache refresh. Previously the lock was held
for up to 3 minutes with 100+ PVs, causing /metrics endpoint timeouts.

Fixes: https://issues.redhat.com/browse/DFBUGS-4988
Signed-off-by: Divyansh Kamboj <dkamboj@redhat.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.

2 participants