You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2014/12/10 16:55:14 UTC
[jira] [Assigned] (USERGRID-254) Add Event system to Collections
module, use it to clean up old indices
[ https://issues.apache.org/jira/browse/USERGRID-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Johnson reassigned USERGRID-254:
--------------------------------------
Assignee: David Johnson
> Add Event system to Collections module, use it to clean up old indices
> ----------------------------------------------------------------------
>
> Key: USERGRID-254
> URL: https://issues.apache.org/jira/browse/USERGRID-254
> Project: Usergrid
> Issue Type: Story
> Reporter: David Johnson
> Assignee: David Johnson
>
> When the Core module EntityManager deletes or updates Entities in the Collections module, the Query Index records for the old versions of that Entity need to be deleted.
> To enable this, we added an eventing system to the Collections module so that callers can hook into entity create, update and delete events.
> And we added event handlers to clean up the Query Index records for those events.
> See the new package in Collections module:
> org.apache.usergrid.persistence.collection.event
> And in Core:
> org.apache.usergrid.corepersistence.events
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)