You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/04/27 10:36:14 UTC

[GitHub] [pulsar] eolivelli commented on a change in pull request #10400: [Broker] Fix issue in reusing EntryBatchIndexesAcks instances

eolivelli commented on a change in pull request #10400:
URL: https://github.com/apache/pulsar/pull/10400#discussion_r621082530



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/EntryBatchIndexesAcks.java
##########
@@ -24,8 +24,8 @@
 import org.apache.commons.lang3.tuple.Pair;
 
 public class EntryBatchIndexesAcks {
-
-    Pair<Integer, long[]>[] indexesAcks = new Pair[100];
+    int maxSize = 100;

Review comment:
       can we make this "private" ?




-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org