Re: replica deleted but directory remains

2020-07-07 Thread ChienHuaWang
Hi Erick,

I also have issue about deleting collections or replicas but the data is
still in directory.
It not show in admin UI, but data is still in folder and the disk is not
clean.
Not observing specific error message, could you please advise any other
possible reason to fix this?

Regards,
Chien



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: replica deleted but directory remains

2020-06-24 Thread Odysci
Thanks!
Reinaldo

On Tue, Jun 23, 2020 at 6:27 PM Erick Erickson 
wrote:

> In a word, “yes”. What it looks like is that the information in
> Zookeeper has been updated to reflect the deletion. But since
> node for some mysterious reason wasn’t available when the replica
> was deleted, the data couldn’t be removed.
>
> Best,
> Erick
>
> > On Jun 23, 2020, at 12:58 PM, Odysci  wrote:
> >
> > Hi,
> > I've got a solrcloud configuration with 2 shards and 2 replicas each.
> > For some unknown reason, one of the replicas was on "recovery" mode
> > forever, so I decided to create another replica, which went fine.
> > Then I proceeded to delete the old replica (using the SOlr UI). After a
> > while the interface gave me a msg about not being able to connect to the
> > solr node. But once i refreshed it, the old replica was no longer showing
> > in the interface, and the new replica was active.
> > However, the directory in disk for the old replica is still there (and
> it's
> > size is larger than originally).
> > In a previous time when I did this in the exact the same way, the
> directory
> > was removed.
> >
> > My quesion is, can I manually delete the directory for the old replica?
> > Or is there a solr command that will do this cleanly?
> > Thanks
> >
> > Reinaldo
>
>


Re: replica deleted but directory remains

2020-06-23 Thread Erick Erickson
In a word, “yes”. What it looks like is that the information in 
Zookeeper has been updated to reflect the deletion. But since
node for some mysterious reason wasn’t available when the replica
was deleted, the data couldn’t be removed.

Best,
Erick

> On Jun 23, 2020, at 12:58 PM, Odysci  wrote:
> 
> Hi,
> I've got a solrcloud configuration with 2 shards and 2 replicas each.
> For some unknown reason, one of the replicas was on "recovery" mode
> forever, so I decided to create another replica, which went fine.
> Then I proceeded to delete the old replica (using the SOlr UI). After a
> while the interface gave me a msg about not being able to connect to the
> solr node. But once i refreshed it, the old replica was no longer showing
> in the interface, and the new replica was active.
> However, the directory in disk for the old replica is still there (and it's
> size is larger than originally).
> In a previous time when I did this in the exact the same way, the directory
> was removed.
> 
> My quesion is, can I manually delete the directory for the old replica?
> Or is there a solr command that will do this cleanly?
> Thanks
> 
> Reinaldo



replica deleted but directory remains

2020-06-23 Thread Odysci
Hi,
I've got a solrcloud configuration with 2 shards and 2 replicas each.
For some unknown reason, one of the replicas was on "recovery" mode
forever, so I decided to create another replica, which went fine.
Then I proceeded to delete the old replica (using the SOlr UI). After a
while the interface gave me a msg about not being able to connect to the
solr node. But once i refreshed it, the old replica was no longer showing
in the interface, and the new replica was active.
However, the directory in disk for the old replica is still there (and it's
size is larger than originally).
In a previous time when I did this in the exact the same way, the directory
was removed.

My quesion is, can I manually delete the directory for the old replica?
Or is there a solr command that will do this cleanly?
Thanks

Reinaldo