[
https://issues.apache.org/jira/browse/SOLR-15727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571517#comment-17571517
]
Shawn Heisey commented on SOLR-15727:
-------------------------------------
Code says that the default for openSearcher on autoCommit is true. The sample
configs that we ship have it set to false. Normally we recommend using false
for that value on autoCommit so that the automatic hard commits are as fast as
possible. Then we recommend using another mechanism to control change
visibility – autoSoftCommit, commitWithin on the update request, or explicit
commits that can be either hard or soft.
> Split-brain can occur with heavy ingest and violent shutdown
> ------------------------------------------------------------
>
> Key: SOLR-15727
> URL: https://issues.apache.org/jira/browse/SOLR-15727
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 8.9
> Reporter: Don
> Priority: Major
>
> Violent shutdown of collection with 2 replicas per shard with heavy ingest
> causes split-brain where the query results against a collection will yield
> different results each time.
>
> Steps to reproduce IPL 2 issue # Deploy a solr cluster with at least 3
> instances
> # Create a solr collection with 3 shards and 2 replicas per shard
> # Begin heavy ingest to solr
> # Kill one of the solr instances (we had it running in a docker container,
> and ran "docker kill" on the container)
> # Wait for the instance to come back up
> # Stop ingest to solr
> # Run a hard commit on the collection
> # Attempt to do a few queries to the collection
>
> +*Expected Result:*+ * Every query returns the same hit count
> +*Actual Result:*+ * As you run queries, the hit count will fluctuate
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]