Skip to content

Conversation

@opensearch-trigger-bot
Copy link
Contributor

Backport 4213cc2 from #16544.

…emote snapshot (#16544)

* Make cacheEntry.getIndexInput() privileged when fetching blobs from remote store

Signed-off-by: Finn Carroll <[email protected]>

* Rebase

Signed-off-by: Finn Carroll <[email protected]>

* Spotless apply

Signed-off-by: Finn Carroll <[email protected]>

* Clean up doPrivileged calls

Signed-off-by: Finn Carroll <[email protected]>

* Comment

Signed-off-by: Finn Carroll <[email protected]>

* Move fetchBlob to PrivilegedExceptionAction. Catch and unwrap IOException.

Signed-off-by: Finn Carroll <[email protected]>

* Unused import

Signed-off-by: Finn Carroll <[email protected]>

* Update server/src/main/java/org/opensearch/index/store/remote/utils/TransferManager.java

Co-authored-by: Andriy Redko <[email protected]>
Signed-off-by: Finn <[email protected]>

* Typo 'thrown'. Catch and throw unknown exception as IOException.

Signed-off-by: Finn Carroll <[email protected]>

---------

Signed-off-by: Finn Carroll <[email protected]>
Signed-off-by: Finn <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
(cherry picked from commit 4213cc2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2024

❌ Gradle check result for 2a12cb8: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2024

✅ Gradle check result for 2a12cb8: SUCCESS

@reta reta merged commit f1b8799 into 2.x Nov 6, 2024
61 checks passed
@reta reta added the v2.19.0 Issues and PRs related to version 2.19.0 label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2.19.0 Issues and PRs related to version 2.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants