MarvinCai commented on code in PR #17192:
URL: https://github.com/apache/pulsar/pull/17192#discussion_r950774073
##########
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/bookkeeper/PulsarLedgerIdGenerator.java:
##########
@@ -173,7 +174,7 @@ private CompletableFuture<Long> generateLongLedgerId() {
if (log.isDebugEnabled()) {
log.debug("DELETING HIGH ORDER DIR: {}",
path);
}
- store.delete(path, Optional.of(0L));
Review Comment:
this is a relative path we build ourself and won't have the problem of
carrying root path when getting path from `stats.getPath()`?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]