[
https://issues.apache.org/jira/browse/SOLR-9371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404448#comment-15404448
]
Shawn Heisey edited comment on SOLR-9371 at 8/2/16 5:40 PM:
------------------------------------------------------------
I looked into the Windows start script. It just uses a plain "wait" sort of
timeout. The "wait briefly and check PID" loop might be adaptable to the
"stop" action in Windows by somebody who really knows the batch syntax.
Question for the peanut gallery: What's the earliest Windows version we will
support? One command that I found for doing silent pauses won't work on XP,
and probably doesn't work on 2003 either. Both of these versions are end of
life ... so do we need to support them?
was (Author: elyograg):
I looked into the Windows start script. It just uses a plain "wait" sort of
timeout. The "wait briefly and check PID" loop might be adaptable to the
"stop" action in Windows by somebody who really knows the batch syntax.
Question for the peanut gallery: What's the earliest Windows version we will
support? One command that I found for doing silent pauses won't work on XP.
XP is end of life ... so do we need to support it?
> 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]