Skip to content

Conversation

@shruti-p-s
Copy link
Contributor

Patch by Shruti Sekaran; Reviewed by TBD for CASSSIDECAR-386

Copy link
Contributor

@frankgh frankgh left a comment

Choose a reason for hiding this comment

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

Looks good, I have one minor comment

Comment on lines 254 to 258
.onComplete(ar -> {
asyncFile.close().onFailure(err ->
LOGGER.warn("Failed to close file after upload", err)
);
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we also log the filename here?

Suggested change
.onComplete(ar -> {
asyncFile.close().onFailure(err ->
LOGGER.warn("Failed to close file after upload", err)
);
});
.onComplete(ar -> asyncFile.close().onFailure(err ->
LOGGER.warn("Failed to close file='{}' after upload", filename, err)
));

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, I'll add this now, thanks.

Copy link
Contributor

@frankgh frankgh left a comment

Choose a reason for hiding this comment

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

+1 looks good to me

@frankgh frankgh merged commit 41f6e51 into apache:trunk Dec 2, 2025
4 of 5 checks passed
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.

3 participants