[
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 <[email protected]>
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)