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

[repository-azure] Update to the latest Azure Storage SDK v12, remove privileged runnable wrapper in favor of access helper #1521

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

reta
Copy link
Collaborator

@reta reta commented Nov 9, 2021

Signed-off-by: Andriy Redko andriy.redko@aiven.io

Description

The fix for [1] has finally arrived to latest Azure Storage SDK releases. We could get rid of privileged runnable wrapper and use access helper (for JacksonAdapter serialization / deserialization). More details in [2], [3]

[1] Azure/azure-sdk-for-java#24373
[2] Azure/azure-sdk-for-java#25004
[3] Azure/azure-sdk-for-java#24374

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

… privileged runnable wrapper in favor of access helper

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
});
};
final Thread t = new Thread(group, priviledged, namePrefix + threadNumber.getAndIncrement(), 0);
final Thread t = new Thread(group, r, namePrefix + threadNumber.getAndIncrement(), 0);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No need to wrap anymore :-)

Copy link
Member

Choose a reason for hiding this comment

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

Nice!

@opensearch-ci-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Wrapper Validation success ea9456b

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Precommit success ea9456b

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success ea9456b
Log 1018

Reports 1018

Copy link
Member

@saratvemulapalli saratvemulapalli left a comment

Choose a reason for hiding this comment

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

Thanks @reta , changes look good to me!

});
};
final Thread t = new Thread(group, priviledged, namePrefix + threadNumber.getAndIncrement(), 0);
final Thread t = new Thread(group, r, namePrefix + threadNumber.getAndIncrement(), 0);
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

@saratvemulapalli saratvemulapalli added Plugins pending backport Identifies an issue or PR that still needs to be backported >upgrade Label used when upgrading library dependencies (e.g., Lucene) and removed >upgrade Label used when upgrading library dependencies (e.g., Lucene) labels Nov 11, 2021
@saratvemulapalli saratvemulapalli merged commit 0e6b0c5 into opensearch-project:main Nov 11, 2021
@saratvemulapalli
Copy link
Member

@reta could you also backport this PR to 1.x?

@reta
Copy link
Collaborator Author

reta commented Nov 11, 2021

@saratvemulapalli definitely, on it

reta added a commit to reta/OpenSearch that referenced this pull request Nov 11, 2021
… privileged runnable wrapper in favor of access helper (opensearch-project#1521)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
saratvemulapalli pushed a commit that referenced this pull request Nov 11, 2021
… privileged runnable wrapper in favor of access helper (#1521) (#1538)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@saratvemulapalli saratvemulapalli removed the pending backport Identifies an issue or PR that still needs to be backported label Nov 11, 2021
iclonghoang pushed a commit to instaclustr/OpenSearch that referenced this pull request Dec 21, 2021
… privileged runnable wrapper in favor of access helper (opensearch-project#1521)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
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