Thanks for the reply.

The issue is, when the core is unloaded, post commit listeners on the core
are not getting called.

If you see here, the code that calls post commit listeners is commented out.
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java#L789

To reproduce,

1. Have Solr configured with transient size of 1
2. Set softCommit, hardCommit to 1 minute (Commit happens after a minute)
3. Create 2 cores, core1 and core2
4. Ingest into core1, at this point core1 is loaded, core2 should be in
closed state.
5. If we now ingest into or read from core2, after say 10 seconds, core1 is
indexed and closed but commit listeners don't get called.

Thank you



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

Reply via email to