eolivelli commented on a change in pull request #1532: (WIP) ISSUE #1527: Make 
ExplicitLAC persistent
URL: https://github.com/apache/bookkeeper/pull/1532#discussion_r199320090
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Bookie.java
 ##########
 @@ -1182,13 +1201,24 @@ public void recoveryAddEntry(ByteBuf entry, 
WriteCallback cb, Object ctx, byte[]
         }
     }
 
-    public void setExplicitLac(ByteBuf entry, Object ctx, byte[] masterKey)
+    static ByteBuf createExplicitLACEntry(long ledgerId, ByteBuf explicitLac) {
+        ByteBuf bb = Unpooled.buffer(8 + 8 + 4 + explicitLac.capacity());
 
 Review comment:
   I think we can used a pooled bytebuf

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to