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

Metrics shows volume out of sync even for deleted replication object. #1194

Open
winkrs opened this issue Mar 27, 2024 · 0 comments
Open

Metrics shows volume out of sync even for deleted replication object. #1194

winkrs opened this issue Mar 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@winkrs
Copy link
Contributor

winkrs commented Mar 27, 2024

Describe the bug

When a replication object with volume out of sync gets deleted, the metrics still show that this object is still out of sync.

Steps to reproduce

Create a replicationSource with the wrong destination address for the metric volsync_volume_out_of_sync is equal to 1. Now delete the replicationSource object and check the metrics again.

Expected behavior

Expected the metrics gauge value to be 0 when the object is deleted.

Actual results

the metrics stay as 1 even when the replication object gets deleted

Additional context

As per my understanding, the gauge metric should be reverted to 0 when the replication object gets deleted. Showing that there is a volume out of sync for a delete replication object creates confusion.

@winkrs winkrs added the bug Something isn't working label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant