[
https://issues.apache.org/jira/browse/SOLR-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13824976#comment-13824976
]
Mark Miller commented on SOLR-5397:
-----------------------------------
Have things fairly isolated now. Pretty odd - we skip downloading all these
index files to what should be a new tmp dir, but the claim is they already
exist - that doesn't seem to hold up because when we try and open on the
resulting index (of which we only copied del files and a new segments_n file
into) we don't find one of the skipped index files and so it fails back to the
previous gen, which is empty. Weird, but should be able to get to the bottom of
it.
{noformat}
org.apache.lucene.store.MMapDirectory@/ext3space/jenkins/workspace/ChaosMonkeySafeLeader/solr/build/solr-core/test/J0/org.apache.solr.cloud.ChaosMonkeySafeLeaderTest-1384726566279/jetty10/index.80120827121941846
lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@73c8693
fullCopy=false
[junit4] 2> 76387 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _2.si because it already exists
[junit4] 2> 76387 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _0.cfe because it already exists
[junit4] 2> 76403 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _2.cfs because it already exists
[junit4] 2> 76404 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _1.cfe because it already exists
[junit4] 2> 76406 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _0.cfs because it already exists
[junit4] 2> 76407 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _1.si because it already exists
[junit4] 2> 76411 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _0.si because it already exists
[junit4] 2> 76412 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _1.cfs because it already exists
[junit4] 2> 76419 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _2_1.del because it already exists
[junit4] 2> 76420 T210 C18 P57580 oash.SnapPuller.downloadIndexFiles
Skipping download for _2.cfe because it already exists
[junit4] 2> 76420 T210 C18 P57580 oash.SnapPuller.fetchLatestIndex Total
time taken for download : 0 secs
[junit4] 2> 76756 T210 C18 P57580 oash.SnapPuller.moveAFile DEBUG Moving
file: _1_1.del
[junit4] 2> 76757 T210 C18 P57580 oash.SnapPuller.moveAFile DEBUG Moving
file: _0_2.del
[junit4] 2> 76758 T210 C18 P57580 oash.SnapPuller.moveAFile DEBUG Moving
file: segments_2
[junit4] 2> java.io.FileNotFoundException:
/ext3space/jenkins/workspace/ChaosMonkeySafeLeader/solr/build/solr-core/test/J0/org.apache.solr.cloud.ChaosMonkeySafeLeaderTest-1384726566279/jetty10/index/_0.si
(No such file or directory)
[junit4] 2> at java.io.RandomAccessFile.open(Native Method)
[junit4] 2> at
java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
[junit4] 2> at
org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
[junit4] 2> at
org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader.read(Lucene40SegmentInfoReader.java:51)
[junit4] 2> at
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:340)
[junit4] 2> at
org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:404)
[junit4] 2> at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:843)
[junit4] 2> at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:694)
[junit4] 2> at
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:400)
[junit4] 2> at
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:741)
[junit4] 2> at
org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:77)
[junit4] 2> at
org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:64)
[junit4] 2> at
org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:267)
[junit4] 2> at
org.apache.solr.update.DefaultSolrCoreState.openIndexWriter(DefaultSolrCoreState.java:250)
[junit4] 2> at
org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:458)
[junit4] 2> at
org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:322)
[junit4] 2> at
org.apache.solr.cloud.RecoveryStrategy.replicate(RecoveryStrategy.java:155)
[junit4] 2> at
org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:435)
[junit4] 2> at
org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:246)
[junit4] 2> java.io.FileNotFoundException:
/ext3space/jenkins/workspace/ChaosMonkeySafeLeader/solr/build/solr-core/test/J0/org.apache.solr.cloud.ChaosMonkeySafeLeaderTest-1384726566279/jetty10/index/_0.si
(No such file or directory)
[junit4] 2> at java.io.RandomAccessFile.open(Native Method)
{noformat}
> Test fails for ChaosMonkeySafeLeaderTest on Apache Jenkins
> -----------------------------------------------------------
>
> Key: SOLR-5397
> URL: https://issues.apache.org/jira/browse/SOLR-5397
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 4.6, 5.0
>
> Attachments: monkeyrun.log
>
>
> Error Message:
> shard3 is not consistent. Got 137 from
> http://127.0.0.1:49317/collection1lastClient and got 125 from
> http://127.0.0.1:39794/collection1
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]