graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03961
Re: [Question #175552]: stats data started to be much behind after updating to 0.9.9
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.