Not a bad idea… or maybe even just a small shell script… ta! Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Michael Conrad <mich...@newsrx.com> Sent: Friday, February 3, 2023 1:37:46 PM To: users@solr.apache.org <users@solr.apache.org> Subject: Re: Solr Master Reboot
Create a small Java utility to loop through the cores and use SolrJ to turn replication on/off for each core in turn? On 2/3/23 08:30, Paul Ryder wrote: > HI Shawn > > We are on 8.1.1 but upgrading soon... shame Solr doesn't have a master > command to turn replication off for all cores at once... > > Cheers, Paul > > -----Original Message----- > From: Shawn Heisey<apa...@elyograg.org> > Sent: 03 February 2023 13:26 > To:users@solr.apache.org > Subject: Re: Solr Master Reboot > > On 2/3/23 02:53, Paul Ryder wrote: >> I have a standalone Solr with a master and 2 slaves. I need to resize/reboot >> the master whilst leaving the slaves up. Around 30 cores, so disabling >> replication for a few mins would be a pain, as it seems can only be done on >> a core-by-core basis. What's the best practise here? Simply take down the >> master and let the replication fail then eventually recover? > I would expect that to work. Hopefully you're on the latest release in > whatever major version of Solr you're running. > > I *think* it would be a bug if that doesn't work. > > Thanks, > Shawn