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

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

     [ https://issues.apache.org/jira/browse/HBASE-10063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-10063:
-----------------------------------

    Fix Version/s:     (was: 0.98.0)
                   0.98.1

> 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.1
>
>
> 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)