Renkai commented on a change in pull request #9096:
URL: https://github.com/apache/pulsar/pull/9096#discussion_r555032114
##########
File path:
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/LedgerOffloader.java
##########
@@ -85,6 +161,32 @@
UUID uid,
Map<String, String> extraMetadata);
+ /**
+ * Offload the passed in ledger to longterm storage.
+ * Metadata passed in is for inspection purposes only and should be stored
+ * alongside the segment data.
+ *
+ * When the returned future completes, the ledger has been persisted to the
+ * loadterm storage, so it is safe to delete the original copy in
bookkeeper.
Review comment:
Comment updated
----------------------------------------------------------------
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]