[ https://issues.apache.org/jira/browse/BOOKKEEPER-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012969#comment-16012969 ]
ASF GitHub Bot commented on BOOKKEEPER-1055: -------------------------------------------- Github user merlimat commented on the issue: https://github.com/apache/bookkeeper/pull/156 @eolivelli Sure, I'll fix that. Thanks for checking it out ! > Optimize handling of masterKey in case it is empty > -------------------------------------------------- > > Key: BOOKKEEPER-1055 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1055 > Project: Bookkeeper > Issue Type: Improvement > Reporter: Matteo Merli > Assignee: Matteo Merli > Priority: Minor > Fix For: 4.5.0 > > > On each request client and bookies are exchanging the ledger masterKey, which > is a 20 bytes MAC digest of the ledger password. > For each request there is a considerable overhead in allocating byte arrays > when parsing the add/read requests. > If the client is a passing an empty password, we should optimize the data > path to skip all allocations (related to the masterKey) and instead rely on a > static byte array. -- This message was sent by Atlassian JIRA (v6.3.15#6346)