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

Jeffrey  updated USERGRID-1271:
-------------------------------
    Description: 
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

  was:
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

A TTL of -1 should indicate that there is no expiry.

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


> 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
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to