[
https://issues.apache.org/jira/browse/USERGRID-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Russo updated USERGRID-1271:
------------------------------------
Labels: groomed (was: )
> Enforce a TTL For Entities
> --------------------------
>
> Key: USERGRID-1271
> URL: https://issues.apache.org/jira/browse/USERGRID-1271
> Project: Usergrid
> Issue Type: Story
> Components: Stack
> Affects Versions: 2.1.1
> Reporter: Jeffrey
> Assignee: Ayesha Amrin Dastagiri
> Labels: groomed
>
> Usergrid should support the ability to set a TTL for an entity:
> 1) When it is created, using either the qparam TTL (in seconds)
> 2) After it is created by calling PUT /{org}/{app}/{collection}/{entity}/_ttl
> (value in seconds)
> A TTL of -1 should indicate that there is no expiry.
> Also the ttl should be returned in the 'metadata' section of an entity if
> there is a TTL.
> When setting a TTL, ensure all column families and related data are updated:
> 1) MVCC_Entity_Data_
> 2) Unique_Values_
> 3) Directed edges in all of Graph_
> 4) The edge reference in appropriate Edge_Shards row
> 5) The indexed document in ElasticSearch
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)