On 12/17/22 04:07, Dominique Bejean wrote:
solr.log.18:394492:2022-11-23 14:45:37.134 INFO (zkCallback-5-thread-128) [ ] o.a.s.h.CdcrLeaderStateManager Received new leader state @ SSSS:shard1 solr.log.18:418525:2022-11-23 14:45:48.533 INFO (Thread-2218) [c:SSSS s:shard1 r:core_node90 x:SSSS_shard1_replica_t89] o.a.s.s.SolrIndexSearcher Opening [Searcher@39764e3a[SSSS_shard1_replica_t89] main] solr.log.18:418626:2022-11-23 14:45:49.535 INFO (Thread-2218) [c:SSSS s:shard1 r:core_node90 x:SSSS_shard1_replica_t89] o.a.s.s.SolrIndexSearcher Opening [Searcher@3dd70403[SSSS_shard1_replica_t89] main] solr.log.18:418667:2022-11-23 14:45:50.090 INFO (recoveryExecutor-4-thread-13-processing-n:no2fyy27.noe.edf.fr:8984_solr x:SSSS_shard1_replica_t89 c:SSSS s:shard1 r:core_node90) [c:SSSS s:shard1 r:core_node90 x:SSSS_shard1_replica_t89] o.a.s.s.SolrIndexSearcher Opening [Searcher@4a51a759[SSSS_shard1_replica_t89] main] solr.log.18:418682:2022-11-23 14:45:50.153 INFO (recoveryExecutor-4-thread-13-processing-n:no2fyy27.noe.edf.fr:8984_solr x:SSSS_shard1_replica_t89 c:SSSS s:shard1 r:core_node90) [c:SSSS s:shard1 r:core_node90 x:SSSS_shard1_replica_t89] o.a.s.h.CdcrRequestHandler Solr core is being closed - shutting down CDCR handler @ SSSS:shard1
I've got no idea on the CDCR stuff. Haven't used it. I believe it has been removed from Solr... at least I know it was deprecated. Not sure which version that happened in. I think the note below about TLOG replicas might apply here too.
solr.log.18:454048:2022-11-23 14:59:21.351 INFO (Thread-2668) [c:SSSS s:shard1 r:core_node90 x:SSSS_shard1_replica_t89] o.a.s.s.SolrIndexSearcher Opening [Searcher@273ebecf[SSSS_shard1_replica_t89] main] solr.log.18:454403:2022-11-23 14:59:21.993 INFO (Thread-2668) [c:SSSS s:shard1 r:core_node90 x:SSSS_shard1_replica_t89] o.a.s.s.SolrIndexSearcher Opening [Searcher@711992c5[SSSS_shard1_replica_t89] main] solr.log.18:454484:2022-11-23 14:59:22.588 INFO (recoveryExecutor-4-thread-17-processing-n:no2fyy27.noe.edf.fr:8984_solr x:SSSS_shard1_replica_t89 c:SSSS s:shard1 r:core_node90) [c:SSSS s:shard1 r:core_node90 x:SSSS_shard1_replica_t89] o.a.s.s.SolrIndexSearcher Opening [Searcher@5258502d[SSSS_shard1_replica_t89] main] solr.log.18:454502:2022-11-23 14:59:22.609 INFO (recoveryExecutor-4-thread-17-processing-n:no2fyy27.noe.edf.fr:8984_solr x:SSSS_shard1_replica_t89 c:SSSS s:shard1 r:core_node90) [c:SSSS s:shard1 r:core_node90 x:SSSS_shard1_replica_t89] o.a.s.h.CdcrRequestHandler Solr core is being closed - shutting down CDCR handler @ SSSS:shard1
This is a tlog replica. Which means that unless it is the leader replica for the shard, it behaves very differently -- exactly like a PULL replica would except that in addition to replicating the index, it also replicates the transaction log.
A TLOG follower or a PULL replica does commits very differently than the leader. Those commits are related to new index segments being copied from the leader. On the leader, lots of new segments can be created by indexing, before a commit happens.
If you see a note about a realtime searcher being created, that is very different than the kind of searcher opened by a commit. That is a searcher used by the /get handler for accessing even records that have not yet been committed. Realtime searchers open fairly quickly because they do not have to do any warming.
Thanks, Shawn
