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)