[
https://issues.apache.org/jira/browse/USERGRID-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eren Yilmaz resolved USERGRID-1317.
-----------------------------------
Resolution: Duplicate
Apparently this issue is already fixed on the source code. Backporting the fix
to the 2.1.0 release resolved the issue.
Please ignore this issue.
> Deindexing bug on deleting connections
> --------------------------------------
>
> Key: USERGRID-1317
> URL: https://issues.apache.org/jira/browse/USERGRID-1317
> Project: Usergrid
> Issue Type: Bug
> Components: query-index, Stack
> Affects Versions: 2.1.0
> Reporter: Eren Yilmaz
> Labels: newbie
>
> When deleting a connection, all other connections are deindexed, according to
> the log. After this, query on the connection does not work.
> Here is a sample log (we only deleted the connection with the entity id
> 49690f32-6dec-11e6-9d67-00155d000a53 ):
> 2016-08-29 17:28:23,814 DEBUG (Usergrid-SQS-Pool-2)
> [org.apache.usergrid.persistence.index.impl.EsEntityIndexBatchImpl] -
> Deindexing to indexes [usergrid-cluster_applications_3] with scope
> ApplicationScopeImpl{application=SimpleId{uuid=067068e5-6de4-11e6-bd42-00155d000a51,
> type='application'}} on edge IndexEdgeImpl{timestamp=136917704454100109}
> SearchEdgeImpl{nodeId=SimpleId{uuid=d63eb134-6de5-11e6-bd42-00155d000a51,
> type='user'}, name='zzzconnzzz|saves', nodeType=TARGET} with id
> SimpleId{uuid=3709fea9-6dec-11e6-9d67-00155d000a53, type='activity'} and
> version 371b3cba-6dec-11e6-9d67-00155d000a53
> 2016-08-29 17:28:23,814 DEBUG (Usergrid-SQS-Pool-2)
> [org.apache.usergrid.persistence.index.impl.EsEntityIndexBatchImpl] -
> Deindexing to indexes [usergrid-cluster_applications_3] with scope
> ApplicationScopeImpl{application=SimpleId{uuid=067068e5-6de4-11e6-bd42-00155d000a51,
> type='application'}} on edge IndexEdgeImpl{timestamp=136917704454100109}
> SearchEdgeImpl{nodeId=SimpleId{uuid=d63eb134-6de5-11e6-bd42-00155d000a51,
> type='user'}, name='zzzconnzzz|saves', nodeType=TARGET} with id
> SimpleId{uuid=43609028-6dec-11e6-bb6b-00155d000a54, type='activity'} and
> version 436f3629-6dec-11e6-bb6b-00155d000a54
> 2016-08-29 17:28:23,814 DEBUG (Usergrid-SQS-Pool-2)
> [org.apache.usergrid.persistence.index.impl.EsEntityIndexBatchImpl] -
> Deindexing to indexes [usergrid-cluster_applications_3] with scope
> ApplicationScopeImpl{application=SimpleId{uuid=067068e5-6de4-11e6-bd42-00155d000a51,
> type='application'}} on edge IndexEdgeImpl{timestamp=136917704454100109}
> SearchEdgeImpl{nodeId=SimpleId{uuid=d63eb134-6de5-11e6-bd42-00155d000a51,
> type='user'}, name='zzzconnzzz|saves', nodeType=TARGET} with id
> SimpleId{uuid=49690f32-6dec-11e6-9d67-00155d000a53, type='activity'} and
> version 4969d283-6dec-11e6-9d67-00155d000a53
> 2016-08-29 17:28:23,815 DEBUG (Usergrid-SQS-Pool-2)
> [org.apache.usergrid.persistence.index.impl.EsEntityIndexBatchImpl] -
> Deindexing to indexes [usergrid-cluster_applications_3] with scope
> ApplicationScopeImpl{application=SimpleId{uuid=067068e5-6de4-11e6-bd42-00155d000a51,
> type='application'}} on edge IndexEdgeImpl{timestamp=136917704454100109}
> SearchEdgeImpl{nodeId=SimpleId{uuid=d63eb134-6de5-11e6-bd42-00155d000a51,
> type='user'}, name='zzzconnzzz|saves', nodeType=TARGET} with id
> SimpleId{uuid=b6cd1535-6df4-11e6-a307-00155d000a51, type='activity'} and
> version b6ecab26-6df4-11e6-a307-00155d000a51
> How to reproduce:
> 1- Create connections on a collection
> 2- Query on connections - all should be gotten
> 3- Delete one connection
> 4- Run the same query on connections - none is gotten
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)