janhoy commented on PR #5389:
URL: https://github.com/apache/solr/pull/5389#issuecomment-7166804780

   > > The failing CI test is unrelated.
   > > > How far are we from removing Security Manager? Feels like these days 
everything says "works best wihtout Security Manager" and I don't love that if 
we want this file in the SOLR_PID_DIR that we feel we can't.
   > > 
   > > 
   > > We could have modified the `.policy` file and put it in SOLR_PID_DIR 
already. I went back and forth on it. Since nothing deletes the state file 
after a shutdown it would mean state files linger in that folder. They already 
do in SOLR_LOGS_DIR as well. We cold of course add a delete hook on JVM 
shutdown. If you prefer PID dir, I can make the change...
   > 
   > I guess I srot of think "hey, I can delete anything in a logs dir if I 
need to free up space"... but a PID dir, that's important and special... What 
happens if this file disappears? That would be bad right?
   
   First, I cannot understand why Github has not yet implemented proper 
discussion threads for PR comments. 🤬
   
   We're only using the state file during startup, so it won't matter if it was 
deleted after node is started. Well, jetty would write the file again during 
shutdown most likely, since that is a state change :) 
   
   I lean towards PID dir...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to