Question #175552 on Graphite changed:
https://answers.launchpad.net/graphite/+question/175552

Aaron Sterr proposed the following answer:
Here is my local patch to fix the truncated query problem when using
symlinks in whisper storage:

# diff render/datalib.py.20130325 render/datalib.py
226c226,228
<       cachedResults = CarbonLink.query(dbFile.real_metric)
---
>       # BUG: real_metric (from storage.py) breaks in at least some cases when 
> symlinks are used.
>       #cachedResults = CarbonLink.query(dbFile.real_metric)
>       cachedResults = CarbonLink.query(dbFile.metric_path)


I am not sure if what else this might break.  There was probably a
reason for the code that attempts to resolve symlinks and then use that
result in the cache query.  Caveat Emptor.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to