-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Engine] make Engine.Result#setTransLogLocation() setTook() freeze() … #19275
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
[Engine] make Engine.Result#setTransLogLocation() setTook() freeze() … #19275
Conversation
…public Signed-off-by: jinnyw <[email protected]>
c194078 to
b06de0c
Compare
Signed-off-by: jinnyw <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19275 +/- ##
============================================
+ Coverage 72.92% 72.94% +0.01%
+ Complexity 69779 69778 -1
============================================
Files 5665 5665
Lines 320521 320521
Branches 46396 46396
============================================
+ Hits 233739 233791 +52
+ Misses 67854 67840 -14
+ Partials 18928 18890 -38 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
yupeng9
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks reasonably safe change to me
msfroh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we have the freeze method already to lock down these mutators, making them public should only open them up to custom Engine implementations, which is the whole point of this PR.
opensearch-project#19275) Make Engine.Result#setTransLogLocation(), setTook(), and freeze() public so that they can be called from plugins that implement a custom Engine. --------- Signed-off-by: jinnyw <[email protected]> Co-authored-by: jinnyw <[email protected]>
opensearch-project#19275) Make Engine.Result#setTransLogLocation(), setTook(), and freeze() public so that they can be called from plugins that implement a custom Engine. --------- Signed-off-by: jinnyw <[email protected]> Co-authored-by: jinnyw <[email protected]> Signed-off-by: Ankit Jain <[email protected]>
opensearch-project#19275) Make Engine.Result#setTransLogLocation(), setTook(), and freeze() public so that they can be called from plugins that implement a custom Engine. --------- Signed-off-by: jinnyw <[email protected]> Co-authored-by: jinnyw <[email protected]> Signed-off-by: Ankit Jain <[email protected]>
opensearch-project#19275) Make Engine.Result#setTransLogLocation(), setTook(), and freeze() public so that they can be called from plugins that implement a custom Engine. --------- Signed-off-by: jinnyw <[email protected]> Co-authored-by: jinnyw <[email protected]>
opensearch-project#19275) Make Engine.Result#setTransLogLocation(), setTook(), and freeze() public so that they can be called from plugins that implement a custom Engine. --------- Signed-off-by: jinnyw <[email protected]> Co-authored-by: jinnyw <[email protected]>
opensearch-project#19275) Make Engine.Result#setTransLogLocation(), setTook(), and freeze() public so that they can be called from plugins that implement a custom Engine. --------- Signed-off-by: jinnyw <[email protected]> Co-authored-by: jinnyw <[email protected]>
Description
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
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.
Issue #19276