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] [Updated] (HBASE-11764) Support per cell TTLs
Date Thu, 21 Aug 2014 02:07:29 GMT

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

Andrew Purtell updated HBASE-11764:
-----------------------------------

    Attachment: HBASE-11764.patch

Updated patch. Requires HBASE-11763 be applied first. Includes a unit test that verifies cell
TTLs can expire a cell early. Notes on current implementation:
- Cell tags cannot extend the lifetime of a cell beyond the family setting
- If a cell has multiple TTLs we resolve the conflict by using the first TTL tag encountered
- Unlike in schema cell TTLs are stored in milliseconds, no need to convert

I spent some time looking at doing more, i.e. letting cell TTLs override family settings in
all cases, but we have whole storefile early out optimizations that would have to be undone
potentially. If it is agreeable that cell TTLs can specify a lifetime <= family setting,
then implementation is easier. Otherwise I think we should move this out of .6.

> Support per cell TTLs
> ---------------------
>
>                 Key: HBASE-11764
>                 URL: https://issues.apache.org/jira/browse/HBASE-11764
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.99.0, 0.98.6
>
>         Attachments: HBASE-11764.patch, HBASE-11764.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message