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

[Minor] Catch exception from snapshot uploading #48185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tedyu
Copy link
Contributor

@tedyu tedyu commented Sep 20, 2024

What changes were proposed in this pull request?

When enableChangelogCheckpointing is true, we call uploadSnapshot. If there is exception coming out of this call, currently changelog files are not written.

This PR catches the potential exception from uploadSnapshot, write the changelog files and throw the exception.

Why are the changes needed?

This is to ensure that changelog files are always written.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing test suite.

Was this patch authored or co-authored using generative AI tooling?

No.

@tedyu tedyu changed the title Catch exception from snapshot upload [Minor] Catch exception from snapshot upload Sep 20, 2024
@tedyu
Copy link
Contributor Author

tedyu commented Sep 20, 2024

@HeartSaVioR
Can you take a look ?

@tedyu tedyu changed the title [Minor] Catch exception from snapshot upload [Minor] Catch exception from snapshot uploading Sep 20, 2024
@tedyu
Copy link
Contributor Author

tedyu commented Sep 20, 2024

@anishshri-db
Can you take a look ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant