[
https://issues.apache.org/jira/browse/BOOKKEEPER-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16014027#comment-16014027
]
Hudson commented on BOOKKEEPER-1055:
------------------------------------
FAILURE: Integrated in Jenkins build bookkeeper-master #1752 (See
[https://builds.apache.org/job/bookkeeper-master/1752/])
BOOKKEEPER-1055: Optimize handling of masterKey in case it is empty (eolivelli:
rev 0f16da8961521372b9bec953ab62c8913bb8dc31)
* (edit)
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerHandle.java
* (edit)
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDescriptorImpl.java
* (edit)
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieProtoEncoding.java
* (edit)
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/MacDigestManager.java
> 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)