Clustering does not work in 0.9.6

Bug #595652 reported by Steve Keller
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

I opened a question, 114206 Cluster servers - what am i doing wrong?, a week ago. I got the response that I was doing nothing wrong, and some debugging hints. After eliminating firewall or other network issues as a cause, I did the following:

Added the following to
from graphite.logger import log

and added a line to FindRequest.send()

When nothing showed up in the info.log, logging to and added the following to
the __init__ method of Store:

    # - sk debugging
    msg = ""
    for h in remote_hosts:
      msg += h + "," ("Store using remote hosts: " + msg)

Got this in the info log:
Thu Jun 17 13:45:33 2010 :: Store using remote hosts:

Implying that remote_hosts was empty.

Looked at, found that the constructor to Store is called before the file is imported, so CLUSTER_SERVERS is not respected.

Moved the two lines:


below the local_settings import section

Now clustering works :)

Revision history for this message
chrismd (chrismd) wrote :

Doh... yea we actually fixed this in trunk a couple months ago but I just haven't put out a new release yet. I completely forgot it was still present in 0.9.6, sorry. Thanks for bringing this to my attention again, I'll try to get another release out soon.

Changed in graphite:
status: New → Fix Committed
chrismd (chrismd)
Changed in graphite:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.