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/04/01 04:39:31 UTC
[GitHub] [pulsar] liangyepianzhou commented on a change in pull request #14974: [Fix][Transaction] Fix transaction pendingAckStore asyncMarkDelete
liangyepianzhou commented on a change in pull request #14974:
URL: https://github.com/apache/pulsar/pull/14974#discussion_r840224103
##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/MLPendingAckStore.java
##########
@@ -241,8 +241,8 @@ public void addComplete(Position position, ByteBuf entryData, Object ctx) {
completableFuture.complete(null);
if (!metadataPositions.isEmpty()) {
- PositionImpl firstPosition = metadataPositions.firstEntry().getKey();
- PositionImpl deletePosition = metadataPositions.firstEntry().getKey();
+ PositionImpl firstPosition = PositionImpl.EARLIEST;
Review comment:
I think you are right.
--
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