[
https://issues.apache.org/jira/browse/SOLR-16865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750366#comment-17750366
]
Jason Gerlowski commented on SOLR-16865:
----------------------------------------
Hi [~sa3047] - unfortunately JIRA doesn't allow us to "assign" tickets to
contributors as freely as we'd like. But you've already done the next best
thing in voicing your intentions as a comment - that's usually what we suggest
folks do when they're looking to take a ticket on.
bq. I am new contributor to this project. is there any code debugging
guidelines that I can follow?.
Not exactly debugging guidelines, but you might want to check out our "[How to
Contribute|https://github.com/apache/solr/blob/main/dev-docs/how-to-contribute.adoc]"
docs if you haven't seen them yet.
It might also be helpful to know a bit about how Solr starts up, so you have
some ideas where this warning might go in the code. Solr is, at its core, a
servlet that runs within Jetty. And the first thing we configure Jetty to do
is to create a "CoreContainer" via a "CoreContainerProvider". "CoreContainer"
in particular is a decent place to get started; there's already [a few examples
there|https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/core/CoreContainer.java#L1166]
where we log out some warning messages on startup.
Hope that helps, and let us know if you have any questions!
> Solr should warn about low disk space upon startup
> --------------------------------------------------
>
> Key: SOLR-16865
> URL: https://issues.apache.org/jira/browse/SOLR-16865
> Project: Solr
> Issue Type: New Feature
> Reporter: Ishan Chattopadhyaya
> Priority: Major
> Labels: newdev
>
> I ran into disk issues, hence Solr crashed. Restarted Solr, and it started up
> just fine and crashed later.
> I think Solr should print a warning when the data directory is on a partition
> with low disk space (say <2% free).
> My {{df -h}}:
> {code}
> /dev/nvme0n1p1 117G 111G 685M 100% /mnt/nvme0n1p1
> {code}
> I think I've seen this issue somewhere in the past, but can't find it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]