[ 
https://issues.apache.org/jira/browse/SOLR-9371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437304#comment-15437304
 ] 

Erick Erickson commented on SOLR-9371:
--------------------------------------

I just happened to run across 8065 during a search and said to myself "Hey, I 
remember something more recent about this." So I thought I'd add it in solely 
in the interests of closing JIRAs when possible....

+1 to making it 3 minutes. Since (if I'm reading it correctly), the loop exits 
much more quickly if the process actually stops, there's no real problem there 
IMO. Especially for those of us who start/stop Solr about a zillion times a day 
when testing stuff. Plus, the pain of leader election/full sync/whatever can be 
high enough that waiting a bit more is a small price to pay for real-live 
production systems.





> Fix bin/solr script calculations - start/stop wait time and RMI_PORT
> --------------------------------------------------------------------
>
>                 Key: SOLR-9371
>                 URL: https://issues.apache.org/jira/browse/SOLR-9371
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>    Affects Versions: 6.1
>            Reporter: Shawn Heisey
>            Assignee: Shawn Heisey
>            Priority: Minor
>             Fix For: 6.2, master (7.0)
>
>         Attachments: SOLR-9371.patch, SOLR-9371.patch
>
>
> The bin/solr script doesn't wait long enough for Solr to stop before it sends 
> the KILL signal to the process.  The start could use a longer wait too.
> Also, the RMI_PORT is calculated by simply prefixing the port number with a 
> "1" instead of adding 10000.  If the solr port has five digits, then the rmi 
> port will be invalid, because it will be greater than 65535.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to