You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/04 05:23:59 UTC

[jira] [Commented] (USERGRID-1295) Enhance de-index on update/delete logic to find old versions using Cassandra

    [ https://issues.apache.org/jira/browse/USERGRID-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315330#comment-15315330 ] 

ASF GitHub Bot commented on USERGRID-1295:
------------------------------------------

GitHub user michaelarusso opened a pull request:

    https://github.com/apache/usergrid/pull/534

    USERGRID-1295 and USERGRID-1297

    - Re-introduce a more efficient de-index upon entity delete and entity updates.  Remove the inefficient code as a safety measure so it can't be used again. 
    
    - Add configurable delay after unique value read repair deletion as immediate creation may follow in code before Cassandra replicates the operation.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/michaelarusso/usergrid enhance-deindex

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/usergrid/pull/534.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #534
    
----
commit 7143cbaf6c26b4db00d14fb3a1b9e3eb8a2e068e
Author: Michael Russo <mr...@apigee.com>
Date:   2016-06-04T05:18:12Z

    USERGRID-1295 - Re-introduce a more efficient de-index upon entity delete and entity updates.  Remove the inefficient code as a safety measure so it can't be used again.

----


> Enhance de-index on update/delete logic to find old versions using Cassandra
> ----------------------------------------------------------------------------
>
>                 Key: USERGRID-1295
>                 URL: https://issues.apache.org/jira/browse/USERGRID-1295
>             Project: Usergrid
>          Issue Type: Story
>    Affects Versions: 2.1.1
>            Reporter: Michael Russo
>             Fix For: 2.1.1
>
>
> Currently old versions of entities in Elasticsearch are found by querying elasticsearch.  This can lead to many documents being returned and also put high stress on Elasticsearch.  This information should exist in Cassandra.  We should query and get older versions and then build the docIds for ES directly and send a de-index request ( or batches of de-index requests).



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