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/08/21 02:01:31 UTC
[GitHub] [pulsar] MarvinCai commented on a diff in pull request #17192: [fix][broker] Fix pulsarLedgerIdGenerator can't delete index path when zk metadata store config rootPath.
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org