[ https://issues.apache.org/jira/browse/SOLR-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16015828#comment-16015828 ]
Ivan Mamontov commented on SOLR-10691: -------------------------------------- Erick, In our case we have an old school master-slave cluster with a dedicated master. Also, we have very strict requirements about consistency - no implicit commits or rollbacks are allowed in order to maintain the integrity of data(all-or-nothing principle). * begin the transaction * delete all documents from index * index a huge set of documents/collections * if no errors occur then commit the transaction else roll back the transaction * replicate index to slave nodes So now in order to support transactions during maintenance window or in case of any issue on master we have to * make a backup of all cores * restart server as fast as possible * restore index As you can see this process is very fragile and has high maintenance cost. Regarding the change: from my point of view this change is safe and backward compatible - it just allows to configure index writer from Lucene. This option is fairly well tested by Lucene and in my understanding it is enough to create happy path test with simple test scenario. > Allow to not commit index on core close > --------------------------------------- > > Key: SOLR-10691 > URL: https://issues.apache.org/jira/browse/SOLR-10691 > Project: Solr > Issue Type: Improvement > Reporter: Ivan Mamontov > Priority: Trivial > > As a Solr user I would like to avoid unnecessary commits into Solr/Lucene > index on {{org.apache.solr.update.SolrIndexWriter#close}} in case IW has > uncommitted changes. > In {{org.apache.lucene.index.IndexWriterConfig}}(LUCENE-5871) there is a > property which is currently used to decide whether to commit or discard > uncommitted changes when you call close(). Unfortunately Solr does not > support this property in {{org.apache.solr.update.SolrIndexConfig}} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org