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

Mano Kovacs edited comment on SOLR-10114 at 2/14/17 2:49 PM:
-------------------------------------------------------------

It seems like childnodes are not being inserted at all if there is any 
reordered DBQ. In case of reordering, the neither the insertion for children 
documents, nor the delete for previous child during update are being execute. 
Created new test cases for those too. Is that ok if I add the fixes altogether 
and we extend the title of this jira? Suggesting "Reordered delete-by-query 
cause inconsistency in child documents".


was (Author: manokovacs):
It seems like childnodes are not being inserted at all if there is any 
reordered DBQ. In case of reordering, the neither the insertion for children 
documents, nor the delete for previous child during update are being execute. 
Created new test cases for those too. Is that ok if I add the fixes altogether 
and we extend the title of this jira?

> child documents lack _version_, susceptible to reordered delete-by-query 
> -------------------------------------------------------------------------
>
>                 Key: SOLR-10114
>                 URL: https://issues.apache.org/jira/browse/SOLR-10114
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Yonik Seeley
>         Attachments: SOLR-10114-validation.patch
>
>
> It looks like when a block of documents is indexed, child documents get no 
> \_version\_ field.  This means (among other potential issues) that a 
> delete-by-query that is reordered will cause matching child documents to be 
> deleted.  DBQ normally prevents deleting newer docs by including a 
> restriction on \_version\_, which doesn't work for anything lacking that 
> field.  Re-ordered delete-by-term of any child docs would also be affected 
> (although it should be a much rarer issue.)
> The leading candidate for a fix is to use the exact same \_version\_ for all 
> child docs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to