gaozhangmin commented on a change in pull request #10853:
URL: https://github.com/apache/pulsar/pull/10853#discussion_r647187187
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v1/PersistentTopics.java
##########
@@ -662,6 +662,35 @@ public PersistentOfflineTopicStats
getBacklog(@PathParam("property") String prop
return internalGetBacklog(authoritative);
}
+ @GET
+
@Path("/{property}/{cluster}/{namespace}/{topic}/ledger/{ledgerId}/entry/{entryId}/checkLedgerExists/{checkLedgerExists}/backlogSize")
Review comment:
for calculating backlog size across partitions, Firstly, We had
checked if the target ledgerId existed on topics across partitions, We should
not check If the ledger exists on partitioned topic lately, because target
ledger is only exists on one partition.
--
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]