eolivelli commented on code in PR #18245:
URL: https://github.com/apache/pulsar/pull/18245#discussion_r1019108727
##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/EntryImpl.java:
##########
@@ -44,6 +44,8 @@ protected EntryImpl newObject(Handle<EntryImpl> handle) {
private long entryId;
ByteBuf data;
+ private Runnable onDellocate;
Review Comment:
good catch !
committed
##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/EntryImpl.java:
##########
@@ -63,6 +66,7 @@ public static EntryImpl create(long ledgerId, long entryId,
byte[] data) {
entry.entryId = entryId;
entry.data = Unpooled.wrappedBuffer(data);
entry.setRefCnt(1);
+ entry.onDellocate = null;
Review Comment:
good catch !
committed
--
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]