[ https://issues.apache.org/jira/browse/SOLR-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-2861:
-------------------------------
Attachment: fail13_postfix.xml
Here's a run (fail13) w/ mixed hard+soft commits after Simon's patch.
{code}
14047 VERBOSE:WRITER5: start reopen without writer, reader= DirectoryReader(segments_6:1320156373422:nrt
_y(4.0):C78/7 _n(4.0):c2/1 _x(4.0):c11/1 _w(4.0):c1)
14184 VERBOSE:WRITER14: updateDocument id:98 Document<stored,indexed,indexOptions=DOCS_ONLY<id:98>
stored,indexed,tokenized,omitNorms,indexOptions=DOCS_ONLY<val_l:3>> org.apache.solr.update.SolrIndexWriter@43a4181c
14504 VERBOSE:WRITER14: updateDocument id:98 DONE
14523 VERBOSE:WRITER5: reopen result DirectoryReader(segments_6:1320156373425:nrt _y(4.0):C78/15
_n(4.0):c2/1 _x(4.0):c11/1 _w(4.0):c1 _z(4.0):C7)
### The update to id:98 may or may not be in the resulting reader above
14728 VERBOSE:WRITER8: start reopen from Searcher@28294f62 main{DirectoryReader(segments_6:1320156373425:nrt
_y(4.0):C78/15 _n(4.0):c2/1 _x(4.0):c11/1 _w(4.0):c1 _z(4.0):C7)} writer= org.apache.solr.update.SolrIndexWriter@43a4181c
14729 VERBOSE:WRITER8: reopen result (null)
### But this reopen shows no changes, so the update id:98 must be in reader 1320156373425
14920 VERBOSE:READER2: RealTimeGet using searcher Searcher@79b0d33c main{DirectoryReader(segments_6:1320156373425:nrt
_y(4.0):C78/15 _n(4.0):c2/1 _x(4.0):c11/1 _w(4.0):c1 _z(4.0):C7)}
14922 VERBOSE:READER2: ERROR, id= 98 foundVal= 2 model val= 3 realTime= true
### Since we got the old value, we either missed the whole update, or just the delete part
of the update
(since the uniqueKey lookup stops at the first match, the new document may be in the index,
but we hit the old document first that wasn't marked as deleted)
{code}
> transaction log / realtime-get failures
> ----------------------------------------
>
> Key: SOLR-2861
> URL: https://issues.apache.org/jira/browse/SOLR-2861
> Project: Solr
> Issue Type: Bug
> Reporter: Yonik Seeley
> Attachments: TEST-org.apache.solr.search.TestRealTimeGet.xml, fail11.xml, fail13_postfix.xml,
fail4.xml, fail5.xml, jenkins_output.txt, solr_debug.patch, trunk-0.txt
>
>
> realtime-get or the transaction log fails sometimes
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
|