-
Notifications
You must be signed in to change notification settings - Fork 118
Description
Describe the bug
(also described in carbonapi issues)
For metrics in Whisper files which are under symlink (in the path):
- Querying the metric specifically, e.g.
x.y4.z.w, is returned as expected, even if its Whisper file path contains a symlink. - Querying multiple metrics based on text-search, i.e.
x.y*.z.w, returns only the metrics whose backing Whisper files are not under symlink.
Seems like something in the search engine is effected by a path component being a symlink, which in our case is directory y.
Logs
No error messages in both go-carbon and carbonapi while reproducing it.
In go-carbon log I do see INFO messages of metrics which are not under symlink.
In carbonapi log I see INFO messages with the query search text i.e. x.y*.z.w.
Go-carbon Configuration:
Mostly default, I will provide config if a contributor requests. I believe it may not be relevant though given the nature of the issue.
Metric retention and aggregation schemas
See above.
Simplified query (if applicable)
See description 👆🏻
Additional context
go-carbon 0.17.1 and carbonapi 0.16.0~1.