You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcel Dopita (JIRA)" <ji...@apache.org> on 2018/01/19 08:25:01 UTC
[jira] [Created] (CASSANDRA-14175) Incorrect documentation about
CASSANDRA_INCLUDE priority
Marcel Dopita created CASSANDRA-14175:
-----------------------------------------
Summary: Incorrect documentation about CASSANDRA_INCLUDE priority
Key: CASSANDRA-14175
URL: https://issues.apache.org/jira/browse/CASSANDRA-14175
Project: Cassandra
Issue Type: Bug
Components: Documentation and Website
Reporter: Marcel Dopita
In _bin/cassandra_ the comments say:
{quote}The lowest priority search path is the same directory as the startup script...
{quote}
However the "same directory" currently has the *highest* priority:
{code:java}
# Locations (in order) to use when searching for an include file.
for include in "`dirname "$0"`/cassandra.in.sh" \
"$HOME/.cassandra.in.sh" \
/usr/share/cassandra/cassandra.in.sh \
/usr/local/share/cassandra/cassandra.in.sh \
/opt/cassandra/cassandra.in.sh; do
if [ -r "$include" ]; then
. "$include"
break
fi
done
{code}
It looks like around the release of v 2.0.0 the order was changed but the comments stayed the same.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org