[
https://issues.apache.org/jira/browse/SOLR-10114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15870509#comment-15870509
]
Mano Kovacs edited comment on SOLR-10114 at 2/16/17 6:55 PM:
-------------------------------------------------------------
Yeah, conflict between tests.
{noformat}
26292 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.DirectUpdateHandler2 Reordered DBQs detected.
Update=add{_version_=104,id=G4} DBQs=[DBQ{version=1017,q=id:*}]
26331 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.s.SolrIndexSearcher Opening [Searcher@26c39adc[collection1] realtime]
26331 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=null path=null
params={update.distrib=FROMLEADER&wt=json&indent=true}{add=[G4 (104)]} 0 40
26332 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.DirectUpdateHandler2 Reordered DBQs detected.
Update=add{_version_=105,id=G5} DBQs=[DBQ{version=1017,q=id:*}]
26349 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.s.SolrIndexSearcher Opening [Searcher@17fd92d4[collection1] realtime]
26349 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=null path=null
params={update.distrib=FROMLEADER&wt=json&indent=true}{add=[G5 (105)]} 0 17
26350 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.DirectUpdateHandler2 Reordered DBQs detected.
Update=add{_version_=106,id=G6} DBQs=[DBQ{version=1017,q=id:*}]
26374 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.s.SolrIndexSearcher Opening [Searcher@6453c66a[collection1] realtime]
{noformat}
The {{id:*}} is from the newly added tests. SOLR-9941 was supposed to resolve
this, but it does not, I am trying to work it out but any idea is welcome.
was (Author: manokovacs):
Yeah, conflict between tests.
{{noformat}}
26292 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.DirectUpdateHandler2 Reordered DBQs detected.
Update=add{_version_=104,id=G4} DBQs=[DBQ{version=1017,q=id:*}]
26331 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.s.SolrIndexSearcher Opening [Searcher@26c39adc[collection1] realtime]
26331 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=null path=null
params={update.distrib=FROMLEADER&wt=json&indent=true}{add=[G4 (104)]} 0 40
26332 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.DirectUpdateHandler2 Reordered DBQs detected.
Update=add{_version_=105,id=G5} DBQs=[DBQ{version=1017,q=id:*}]
26349 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.s.SolrIndexSearcher Opening [Searcher@17fd92d4[collection1] realtime]
26349 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=null path=null
params={update.distrib=FROMLEADER&wt=json&indent=true}{add=[G5 (105)]} 0 17
26350 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.u.DirectUpdateHandler2 Reordered DBQs detected.
Update=add{_version_=106,id=G6} DBQs=[DBQ{version=1017,q=id:*}]
26374 INFO (TEST-TestRecovery.testCorruptLog-seed#[BC979C5AA13AC6F7]) [ ]
o.a.s.s.SolrIndexSearcher Opening [Searcher@6453c66a[collection1] realtime]
{{noformat}}
The {{id:*}} is from the newly added tests. SOLR-9941 was supposed to resolve
this, but it does not, I am trying to work it out but any idea is welcome.
> Reordered delete-by-query can delete or omit child documents
> ------------------------------------------------------------
>
> 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)
> Affects Versions: 4.5
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Fix For: master (7.0)
>
> Attachments: SOLR-10114-2.patch, SOLR-10114-2.patch,
> SOLR-10114.patch, SOLR-10114.patch, SOLR-10114-test-cleanup.patch,
> 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: [email protected]
For additional commands, e-mail: [email protected]