++ FYI, I can see the old shard automatically removed. On Mon, Jul 31, 2023 at 11:39 AM HariBabu kuruva <hari2708.kur...@gmail.com> wrote:
> Thanks for your reply. > > I am a little bit worried about PROD. Can I go ahead and do the same steps > in PROD ? Do I need to take any backups or any steps before doing this? > > On Sat, Jul 29, 2023 at 8:51 AM Mikhail Khludnev <m...@apache.org> wrote: > >> Hello Hari. >> If new shards are handling queries and updates well it's ok to have old >> shard inactive. >> You can request DELETESHARD to reclaim the disk space. >> >> On Mon, Jul 24, 2023 at 6:19 PM HariBabu kuruva < >> hari2708.kur...@gmail.com> >> wrote: >> >> > Hi All, >> > >> > I would like to add a new shard to the existing collection to have >> better >> > performance. Currently we have one shard. >> > >> > Solr - 8.11.1 >> > Nodes(servers) - 10 (Non prod - 4 nodes) >> > Zookeepers-5 >> > >> > I have tried the SPLITSHARD command in one of the non prod environments. >> > >> > * >> > >> https://solrserver.corp.company.com:8981/solr/admin/collections?action=SPLITSHARD&collection=abcStore&shard=shard1 >> > < >> > >> https://solrserver.corp.company.com:8981/solr/admin/collections?action=SPLITSHARD&collection=abcStore&shard=shard1 >> > >* >> > Now i can see total 3 shards >> > Shard1 >> > Shard1_0 >> > Shard1_1 >> > >> > But Shard1 is shown as inactive. Please let me know if we need to remove >> > this ? >> > >> > Please help me if this is the correct way of splitting the shard. >> > Are there any impacts to the data because of this ? >> > What are the measures to be taken while doing this in a PROD >> environment. >> > >> > -- >> > >> > Thanks and Regards, >> > Hari >> > Mobile:9790756568 >> > >> >> >> -- >> Sincerely yours >> Mikhail Khludnev >> > > > -- > > Thanks and Regards, > Hari > Mobile:9790756568 > -- Thanks and Regards, Hari Mobile:9790756568