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

Yonik Seeley commented on SOLR-4926:
------------------------------------

So one thing I see is that when the old IndexWriter is closed, a new segment 
file is written out.

{code}
  2> 58339 T257 C69 P58203 oasu.DefaultSolrCoreState.newIndexWriter Closing old 
IndexWriter... core=collection1 
dir=org.apache.lucene.store.MMapDirectory@/opt/code/lusolr_clean5/solr/build/solr-core/test/J0/org.apache.solr.cloud.ChaosMonkeySafeLeaderTest-1372252751336/jetty12/index
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@42062bad
  2> 58341 T257 C69 P58203 oasu.DefaultSolrCoreState.newIndexWriter 
PREFILES=[_0.fdx, segments_1, _0.cfs, _0.si, _0.cfe, _0.fdt, segments.gen, 
segments_4, _0_1.del, write.lock]


  2> 58622 T257 C69 P58203 oasc.SolrDeletionPolicy.onCommit 
SolrDeletionPolicy.onCommit: commits DEBUG_INFO: num=2
  2>            
commit{dir=/opt/code/lusolr_clean5/solr/build/solr-core/test/J0/org.apache.solr.cloud.ChaosMonkeySafeLeaderTest-1372252751336/jetty12/index,segFN=segments_1,generation=1,filenam
es=[segments_1]}
  2>            
commit{dir=/opt/code/lusolr_clean5/solr/build/solr-core/test/J0/org.apache.solr.cloud.ChaosMonkeySafeLeaderTest-1372252751336/jetty12/index,segFN=segments_2,generation=2,filenam
es=[_0.cfs, _0.cfe, _0_1.del, segments_2, _0.si]}


  2> 58630 T257 C69 P58203 oasu.DefaultSolrCoreState.newIndexWriter 
POSTFILES=[segments_2, _0.cfs, _0.si, _0.cfe, segments.gen, segments_4, 
_0_1.del]

{code}

It looks like this new segments file actually references all of the files we 
just replicated, which is of course wrong!

                
> I am seeing RecoveryZkTest and ChaosMonkeySafeLeaderTest fail often on trunk.
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-4926
>                 URL: https://issues.apache.org/jira/browse/SOLR-4926
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Blocker
>             Fix For: 5.0, 4.4
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to