cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Dopita (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-14175) Incorrect documentation about CASSANDRA_INCLUDE priority
Date Fri, 19 Jan 2018 08:25:01 GMT
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


Mime
View raw message