Skip to content

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Nov 13, 2018

This pull request extracts the static inner class RunOnce from WorkerBulkByScrollTaskState so that it can be reused at other places. It also adds tests.

@tlrx tlrx added >enhancement :Core/Infra/Core Core issues without another label v7.0.0 labels Nov 13, 2018
@tlrx tlrx requested a review from jasontedor November 13, 2018 12:13
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for the tests!

@tlrx tlrx force-pushed the relocate-add-once branch from df46faa to 016984a Compare November 14, 2018 09:32
@tlrx tlrx force-pushed the relocate-add-once branch from 016984a to f8719e3 Compare November 14, 2018 13:02
@tlrx tlrx merged commit c8c8ce2 into elastic:master Nov 14, 2018
@tlrx tlrx deleted the relocate-add-once branch November 14, 2018 16:33
@tlrx
Copy link
Member Author

tlrx commented Nov 14, 2018

Thanks @jasontedor

tlrx added a commit that referenced this pull request Nov 14, 2018
This commit extracts the static inner class RunOnce from 
WorkerBulkByScrollTaskState so that it can be reused at 
other places.
@tlrx tlrx added the v6.6.0 label Nov 14, 2018
tlrx added a commit that referenced this pull request Nov 15, 2018
This pull request replaces some blocks of code that must be run once 
and that are currently based on AtomicBoolean by the convient RunOnce 
class added in #35489.
tlrx added a commit that referenced this pull request Nov 15, 2018
This pull request replaces some blocks of code that must be run once
and that are currently based on AtomicBoolean by the convient RunOnce
class added in #35489.
@bleskes
Copy link
Contributor

bleskes commented Nov 15, 2018

Thanks @tlrx !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 participants