cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Joshi (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-14829) Make stop-server.bat wait for Cassandra to terminate
Date Tue, 04 Dec 2018 19:52:00 GMT


Dinesh Joshi commented on CASSANDRA-14829:

Thanks [~jasobrown]!

> Make stop-server.bat wait for Cassandra to terminate
> ----------------------------------------------------
>                 Key: CASSANDRA-14829
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Packaging
>         Environment: Windows 10
>            Reporter: Georg Dietrich
>            Assignee: Georg Dietrich
>            Priority: Minor
>              Labels: easyfix, windows
>             Fix For: 3.11.x, 4.0.x
> While administering a single node Cassandra on Windows, I noticed that the stop-server.bat
script returns before the cassandra process has actually terminated. For use cases like creating
a script "shut down & create backup of data directory without having to worry about open
files, then restart", it would be good to make stop-server.bat wait for Cassandra to terminate.
> All that is needed for that is to change in apache-cassandra-3.11.3\bin\stop-server.bat
"start /B powershell /file ..." to "start /WAIT /B powershell /file ..." (additional /WAIT
> Does this sound reasonable?
> Here is the pull request:

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message