Re: Curious about ReplicationHandler/IndexFetcher interaction with IndexWriter

2024-08-23 Thread Michael Gibney
I have also looked at this and would like to gain more perspective on it. Another related wrinkle to watch out for: I'm pretty sure that Solr replication doesn't re-use core readers over existing segments. I noticed this (along with my colleague Patson) when looking at unexpectedly high CPU usage o

Curious about ReplicationHandler/IndexFetcher interaction with IndexWriter

2024-08-23 Thread David Smiley
Can anyone explain how the ReplicationHandler/IndexFetcher manipulates index files (adds files/segments, removes some too) without interfering with the live index? I see IndexFetcher can call SolrCoreState.closeIndexWriter. I've also seen evidence in code nearby that suggests another data dir may