-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-16581. Revise ValueQueue to correctly replenish queues that go… #1463
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
Conversation
xkrogen
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.
LGTM, left only very minor comments.
...-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/key/TestValueQueue.java
Outdated
Show resolved
Hide resolved
...-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/key/TestValueQueue.java
Outdated
Show resolved
Hide resolved
...-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/key/TestValueQueue.java
Outdated
Show resolved
Hide resolved
… below the watermark In the existing implementation, the ValueQueue::getAtMost() method will only trigger a refill on a key queue if it has gone empty, instead of triggering a refill when it has gone below the watermark. Revised the test suite to correctly verify this behavior.
ff2016d to
59e393f
Compare
|
LGTM, I pinged a few related folks on the JIRA. Also need to get Jenkins to run on this, I'm not sure why it isn't working. |
|
🎊 +1 overall
This message was automatically generated. |
|
+1. Changes look good to me. Thanks for pinging me. @xkrogen. |
xkrogen
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.
+1 from me as well, just merged this.
…ues that go below the watermark (apache#1463) (cherry picked from dd08346) (cherry picked from e31594f) (cherry picked from commit b091abc) Change-Id: Iceffabadbc9fa6d03119dc266eb275b4cfcea3fc
… below the watermark (apache#1463) In the existing implementation, the ValueQueue::getAtMost() method will only trigger a refill on a key queue if it has gone empty, instead of triggering a refill when it has gone below the watermark. Revise the test suite to correctly verify this behavior.
… below the watermark (apache#1463) In the existing implementation, the ValueQueue::getAtMost() method will only trigger a refill on a key queue if it has gone empty, instead of triggering a refill when it has gone below the watermark. Revise the test suite to correctly verify this behavior.
… below the watermark (apache#1463) (cherry picked from dd08346) (cherry picked from e31594f)
… below the watermark (apache#1463) (cherry picked from dd08346) (cherry picked from e31594f)
… below the watermark
In the existing implementation, the ValueQueue::getAtMost() method will only trigger a refill on a key queue if it has gone empty, instead of triggering a refill when it has gone below the watermark. Revised the test suite to correctly verify this behavior.