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 2022/10/16 08:38:37 UTC

[GitHub] [pulsar] lordcheng10 commented on a diff in pull request #18042: [fix][broker] Compare batch index when accumulating acks and updating batchDeletedIndexes

lordcheng10 commented on code in PR #18042:
URL: https://github.com/apache/pulsar/pull/18042#discussion_r996409911


##########
pulsar-common/src/main/java/org/apache/pulsar/common/util/collections/BitSetRecyclable.java:
##########
@@ -105,6 +105,35 @@ private void recalculateWordsInUse() {
         wordsInUse = i+1; // The new logical size
     }
 
+    public int compareTo(BitSetRecyclable bitSetRecyclable) {
+        long[] words1 = toLongArray();

Review Comment:
   Fixed. @Jason918 
   PTAL,thanks!



-- 
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: commits-unsubscribe@pulsar.apache.org

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