You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jason Brown (JIRA)" <ji...@apache.org> on 2018/01/19 13:18:00 UTC
[jira] [Resolved] (CASSANDRA-14175) Incorrect documentation about
CASSANDRA_INCLUDE priority
[ https://issues.apache.org/jira/browse/CASSANDRA-14175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Brown resolved CASSANDRA-14175.
-------------------------------------
Resolution: Fixed
Assignee: Jason Brown
Fix Version/s: 4.0
3.11.2
3.0.16
lol - nice find ;) Ninja-committed as sha {{1cb91eaaaad8169a7b680f1f6ab6b1418ce56e61}}
Thanks!
> 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
> Assignee: Jason Brown
> Priority: Trivial
> Fix For: 3.0.16, 3.11.2, 4.0
>
>
> 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