hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10063) Consider lighter weight generation of IVs for WAL entries
Date Mon, 02 Dec 2013 08:00:38 GMT
Andrew Purtell created HBASE-10063:
--------------------------------------

             Summary: Consider lighter weight generation of IVs for WAL entries
                 Key: HBASE-10063
                 URL: https://issues.apache.org/jira/browse/HBASE-10063
             Project: HBase
          Issue Type: Improvement
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
            Priority: Minor
             Fix For: 0.98.0


In SecureWALCellCodec#EncryptedKvEncoder#write we get the IV for the entry from the secure
RNG. This can be a heavyweight operation if not using an accelerated RNG. Consider something
lighter weight. One option could be to create a random IV only once, store it in the header,
and then increment it per cell. Correct decryption will depend on being able to correctly
count entries even if skipping or rewinding.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message