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

George Reyes closed USERGRID-396.
---------------------------------

Resolved this issue and had it merged it. Current functionality is that the 
UniqueIndexCleanup is done whenever an alias/name read is done. Now it has the 
possibility of doing an additional 2 calls to read through the unique index and 
cleanup any unique id's that have no entity data associated with them. 

> Create UniqueIndexCleanup tool that works with 2.0
> --------------------------------------------------
>
>                 Key: USERGRID-396
>                 URL: https://issues.apache.org/jira/browse/USERGRID-396
>             Project: Usergrid
>          Issue Type: Story
>            Reporter: George Reyes
>            Assignee: George Reyes
>
> Current instance of tools don't work correctly with 2.0. 
> This should have a RESTful endpoint that is trigged with a PUT.  We should 
> have something like this endpoint.
> Check all unique values across the entire system => PUT 
> /system/database/unqiuecheck
> Check all unique values across a single applications => PUT 
> /system/database/uniquecheck/[appid]
> Check all unique values in a single collection => PUT 
> /system/database/uniquecheck/[appid]/[collectionname]
> Check a specific unique value for a collection.
> PUT=> 
> system/database/uniquecheck/[appid]/[collectionname]/[unique value]
> The unique check will need to audit the unique index, and ensure that the 
> unique value exists for the entity specified. If the entity does not exist, 
> they should be removed.
> I think we should implement specific property cleanup first, then implement 
> the other operations as an input of Observables



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

Reply via email to