[ https://issues.apache.org/jira/browse/ACCUMULO-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey J. Nolet updated ACCUMULO-3188: ------------------------------------- Fix Version/s: (was: 1.6.2) 1.6.3 > DfsLogger has inefficient seek in crypto case > --------------------------------------------- > > Key: ACCUMULO-3188 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3188 > Project: Accumulo > Issue Type: Improvement > Components: tserver > Affects Versions: 1.6.1 > Reporter: Josh Elser > Priority: Minor > Labels: newbie > Fix For: 1.7.0, 1.6.3 > > > Noticed an inefficiency when opening an encrypted WAL and attempting to read > any serialized encryption parameters: > {code:title=DfsLogger.java} > input.seek(0); > input.readFully(magicBufferV2); > {code} > Seeking back to 0 and then re-reading the length of the {{magicBufferV2}} is > unnecessary when the input stream can just be seeked to the length of > {{magicBufferV2}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)