PDGGK opened a new issue, #19005: URL: https://github.com/apache/iotdb/issues/19005
`start-edge.bat` keeps an `IOTDB_HOME` taken from the environment and passes it to the JVM as `-DIOTDB_HOME="..."`: https://github.com/apache/iotdb/blob/7aa8e63a7c6be84a5189006a2e5b884ab33f2a90/scripts/sbin/windows/start-edge.bat#L64-L65 https://github.com/apache/iotdb/blob/7aa8e63a7c6be84a5189006a2e5b884ab33f2a90/scripts/sbin/windows/start-edge.bat#L92 `stop-edge.bat` always sets `IOTDB_HOME` to the installation it belongs to, and only stops a `java.exe` whose command line contains `-DIOTDB_HOME=` followed by exactly that string: https://github.com/apache/iotdb/blob/7aa8e63a7c6be84a5189006a2e5b884ab33f2a90/scripts/sbin/windows/stop-edge.bat#L23-L26 So when the node was started with `IOTDB_HOME` set to another path to the same directory, such as a symbolic link or a junction, `stop-edge.bat` does not match the process. This is the Windows side of #18545. The Unix scripts are being changed in #18546, where both scripts now derive `IOTDB_HOME` with one shared function. This came up in the review of #18546. I do not have a Windows machine and have not run these scripts; the above is from reading them. -- 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]
