lhotari commented on a change in pull request #3108:
URL: https://github.com/apache/bookkeeper/pull/3108#discussion_r825732865
##########
File path:
bookkeeper-common/src/main/java/org/apache/bookkeeper/common/collections/GrowableArrayBlockingQueue.java
##########
@@ -83,6 +82,7 @@ public T poll() {
try {
if (SIZE_UPDATER.get(this) > 0) {
T item = data[headIndex.value];
+ data[headIndex.value] = null;
Review comment:
https://github.com/apache/pulsar/pull/1292/files#diff-013ecf9234e6aaa381510e81420c91664149af6d7f16866f1a36b5b3eb71aadcR87
is where the fix was made. It seems that there's not an explicit test for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]