Hi All,

While I was testing out the transient feature of Solr cores, I found this
issue.

I had my transientCacheSize set to "1" in solr.xml and I have created two
cores with these properties
loadOnStartup=false
transient=true

I had my softCommit time set to 5 seconds and hardCommit to 10 seconds.

Now, when I try to ingest into two cores one by one and if I do it before
the hard commit time, i.e. ingest into two cores within 10 seconds, commit
only happens for the second ingested core and also only second cores
postCommit listeners get called and not the first.

I have tried to see why and found this
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java#L789

where call to "commit()" method on "closeWriter()" is commented out.
So, could someone please tell me how to make sure commit and the callbacks
happen on core close or is there any other way to solve this problem.

Thank you



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Commit-callbacks-doesn-t-happen-on-core-close-tp4316015.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to