Description
From ReplicationHandler
if (latestVersion == 0L) { if (forceReplication && commit.getGeneration() != 0) { solrCore.getIndexWriter().deleteAll(); solrCore.getUpdateHandler().commit(new CommitUpdateCommand(req, false)); } return success; }
The inconsistent happens when commit version of master equals 0 but tlog replica does not clear its index.
Error Message Doc with id=1 not found in http://127.0.0.1:60897/b/xj/collMinRf_1x3 due to: Path not found: /id; rsp={doc=null} Stacktrace java.lang.AssertionError: Doc with id=1 not found in http://127.0.0.1:60897/b/xj/collMinRf_1x3 due to: Path not found: /id; rsp={doc=null} at __randomizedtesting.SeedInfo.seed([ACF841744A332569:24AC7EAEE4CF4891]:0) at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.assertTrue(Assert.java:43) at org.apache.solr.cloud.HttpPartitionTest.assertDocExists(HttpPartitionTest.java:603) at org.apache.solr.cloud.HttpPartitionTest.assertDocsExistInAllReplicas(HttpPartitionTest.java:558) at org.apache.solr.cloud.HttpPartitionTest.testMinRf(HttpPartitionTest.java:249) at org.apache.solr.cloud.HttpPartitionTest.test(HttpPartitionTest.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Attachments
Attachments
Issue Links
- breaks
-
SOLR-11452 TestTlogReplica.testOnlyLeaderIndexes() failure
- Closed