You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/12/02 09:00:39 UTC

[jira] [Created] (HBASE-10063) Consider lighter weight generation of IVs for WAL entries

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)