Using solr 7.7.2, Is it safe to manually delete tlog after doing commit?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using solr 7.7.2, Is it safe to manually delete tlog after doing commit?

Louis
Using solr 7.7.2.

Our CDCR is broken for some reason as I posted the other
question(https://lucene.472066.n3.nabble.com/Three-questions-about-huge-tlog-problem-and-CDCR-td4453788.html).

 So the size of tlog is huge now... I don't care CDCR for now, and just want
to clean all these tlog first. Otherwise, disk space will become full.

Is it safe to manually delete by using "rm -rf ./tlog" after commit with
/solr/collectionname/update?commit=true (simply doing commit was not able to
clean tlog because of CDCR malfunction)?





--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Reply | Threaded
Open this post in threaded view
|

Re: Using solr 7.7.2, Is it safe to manually delete tlog after doing commit?

Erick Erickson
I wouldn’t remove the entire directory, but yeah, after a commit you should be fine to remove all of the files/directories _under_ tlog.



> On Dec 20, 2019, at 5:35 PM, alwaysbluesky <[hidden email]> wrote:
>
> Using solr 7.7.2.
>
> Our CDCR is broken for some reason as I posted the other
> question(https://lucene.472066.n3.nabble.com/Three-questions-about-huge-tlog-problem-and-CDCR-td4453788.html).
>
> So the size of tlog is huge now... I don't care CDCR for now, and just want
> to clean all these tlog first. Otherwise, disk space will become full.
>
> Is it safe to manually delete by using "rm -rf ./tlog" after commit with
> /solr/collectionname/update?commit=true (simply doing commit was not able to
> clean tlog because of CDCR malfunction)?
>
>
>
>
>
> --
> Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html