sijie commented on a change in pull request #6052: [PIP-54] Acknowledgement for
batch message local index
URL: https://github.com/apache/pulsar/pull/6052#discussion_r379146729
##########
File path:
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/ManagedCursor.java
##########
@@ -608,4 +608,9 @@ void asyncFindNewestMatching(FindPositionConstraint
constraint, Predicate<Entry>
* Trim delete entries for the given entries
*/
void trimDeletedEntries(List<Entry> entries);
+
+ /**
+ * Get deleted batch indexes list for a batch message.
+ */
+ long[] getDeletedBatchIndexesLongArray(PositionImpl position);
Review comment:
```suggestion
long[] getDeletedBatchIndexesAsLongArray(PositionImpl position);
```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services