Skip to content

[Backport] Remove exception on failure response from GCS delete API#16095

Merged
abhishekrb19 merged 1 commit intoapache:29.0.1from
gargvishesh:backport-2-fix-gcs-delete-29-0-1
Mar 11, 2024
Merged

[Backport] Remove exception on failure response from GCS delete API#16095
abhishekrb19 merged 1 commit intoapache:29.0.1from
gargvishesh:backport-2-fix-gcs-delete-29-0-1

Conversation

@gargvishesh
Copy link
Copy Markdown
Contributor

PR: #16047

* Throw 404 Exception on failure response from GCS delete API

* Replace String.format

* Apply suggestions from code review

Co-authored-by: Abhishek Radhakrishnan <abhishek.rb19@gmail.com>

* Remove exception for file not found and fix tests

* Add warn log and fix intellij inspection errors

* More intellij inspection fixes

* * Change to debug log
* change runtime exception class for code coverage
* Add file paths for batch delete failures

* Move failedPaths computation to inside isDebugEnabled flag

* Correct handling of StorageException

* Address review comments

* Remove unused exceptions

* Address code coverage and review comments

* Minor corrections

---------

Co-authored-by: Abhishek Radhakrishnan <abhishek.rb19@gmail.com>
(cherry picked from commit bed5d9c)
@cryptoe cryptoe added this to the 29.0.1 milestone Mar 11, 2024
@abhishekrb19 abhishekrb19 merged commit c43fbf3 into apache:29.0.1 Mar 11, 2024
@cryptoe cryptoe changed the title [Backport 29.0.1] Remove exception on failure response from GCS delete API [Backport] Remove exception on failure response from GCS delete API Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants