cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Hermes (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1105) Create timers to reload cassandra-rack.properties and datacenters.properties
Date Wed, 26 May 2010 00:37:32 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jon Hermes updated CASSANDRA-1105:
----------------------------------

    Attachment: CASSANDRA-1105-4.patch

Attaching quick patch. Changed
{noformat}
logger.error("{}", data, throwable);
{noformat}

to
{noformat}
logger.error(String.format("%s",data), throwable);
{noformat}

I don't think the first one does what it's supposed to do.

> Create timers to reload cassandra-rack.properties and datacenters.properties
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1105
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1105
>             Project: Cassandra
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: CASSANDRA-1105-2.patch, CASSANDRA-1105-3.patch, CASSANDRA-1105-4.patch,
CASSANDRA-1105.patch
>
>
> PropertyFileSnitch allows reloading changes from its config file manually.  DatacenterShardStrategy
doesn't allow reloading at all [after I ripped out the reload-for-each-getNaturalEndpoints
call code, in CASSANDRA-1103].
> Let's check each of these for changes (modification time on the fs is sufficient) every
minute and reload automatically if changes are seen.  The manual-reload code from PFS can
then be dropped.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message