-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make cacheEntry.getIndexInput() privileged when fetching blobs from r…
…emote snapshot (#16544) (#16582) * Make cacheEntry.getIndexInput() privileged when fetching blobs from remote store * Rebase * Spotless apply * Clean up doPrivileged calls * Comment * Move fetchBlob to PrivilegedExceptionAction. Catch and unwrap IOException. * Unused import * Update server/src/main/java/org/opensearch/index/store/remote/utils/TransferManager.java * Typo 'thrown'. Catch and throw unknown exception as IOException. --------- (cherry picked from commit 4213cc2) Signed-off-by: Finn Carroll <carrofin@amazon.com> Signed-off-by: Finn <finnegancarroll94@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Andriy Redko <drreta@gmail.com>
- Loading branch information
1 parent
6111d05
commit f1b8799
Showing
2 changed files
with
40 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters