mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.11' into trunk
This commit is contained in:
commit
959d6daa99
|
|
@ -31,9 +31,10 @@
|
|||
* Cleanup and improvements to IndexInfo/ColumnIndex (CASSANDRA-15469)
|
||||
* Potential Overflow in DatabaseDescriptor Functions That Convert Between KB/MB & Bytes (CASSANDRA-15470)
|
||||
Merged from 3.0:
|
||||
* Run evictFromMembership in GossipStage (CASSANDRA-15592)
|
||||
* Run evictFromMembership in GossipStage (CASSANDRA-15592)
|
||||
Merged from 2.2:
|
||||
* Allow EXTRA_CLASSPATH to work on tar/source installations (CASSANDRA-15567)
|
||||
* Fix Red Hat init script on newer systemd versions (CASSANDRA-15273)
|
||||
* Allow EXTRA_CLASSPATH to work on tar/source installations (CASSANDRA-15567)
|
||||
|
||||
4.0-alpha3
|
||||
* Restore monotonic read consistency guarantees for blocking read repair (CASSANDRA-14740)
|
||||
|
|
|
|||
|
|
@ -69,15 +69,16 @@ case "$1" in
|
|||
echo -n "Starting Cassandra: "
|
||||
[ -d `dirname "$pid_file"` ] || \
|
||||
install -m 755 -o $CASSANDRA_OWNR -g $CASSANDRA_OWNR -d `dirname $pid_file`
|
||||
su $CASSANDRA_OWNR -c "$CASSANDRA_PROG -p $pid_file" > $log_file 2>&1
|
||||
runuser -u $CASSANDRA_OWNR -- $CASSANDRA_PROG -p $pid_file > $log_file 2>&1
|
||||
retval=$?
|
||||
chown root.root $pid_file
|
||||
[ $retval -eq 0 ] && touch $lock_file
|
||||
echo "OK"
|
||||
;;
|
||||
stop)
|
||||
# Cassandra shutdown
|
||||
echo -n "Shutdown Cassandra: "
|
||||
su $CASSANDRA_OWNR -c "kill `cat $pid_file`"
|
||||
runuser -u $CASSANDRA_OWNR -- kill `cat $pid_file`
|
||||
retval=$?
|
||||
[ $retval -eq 0 ] && rm -f $lock_file
|
||||
for t in `seq 40`; do
|
||||
|
|
|
|||
Loading…
Reference in New Issue