Skip to content

Conversation

@hemantk-12
Copy link
Contributor

What changes were proposed in this pull request?

This change is to increment activeSnapshot count metric only if snapshot creation succeeds. Current it gets incremented even if creation fails due to any reason.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-8360

How was this patch tested?

  • Added a test and ran locally.

@hemantk-12 hemantk-12 changed the title HDDS-8360. [Snapshot] Increment activeSnapshot metric only if snapshot creation succeeds HDDS-8360. [Snapshot] Increment activeSnapshot count metric only if snapshot creation succeeds May 16, 2023
@adoroszlai adoroszlai added the snapshot https://issues.apache.org/jira/browse/HDDS-6517 label May 17, 2023
Copy link
Member

@aswinshakil aswinshakil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch @hemantk-12. Overall LGTM. Left one comment.

@aswinshakil aswinshakil merged commit 7d1aaef into apache:master May 19, 2023
@hemantk-12 hemantk-12 deleted the HDDS-8360 branch October 28, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot https://issues.apache.org/jira/browse/HDDS-6517

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants