Skip to content

[BUG] Whispers under symlinks are not returned for queries (Grafana) with wildcards  #806

Description

@interfan7

Describe the bug
For metrics in Whisper files which are under symlink (in the path):

  • Quering the metric specifically, e.g. x.y.z.w, is returned as expected.
  • Quering multiple metrics based on text-search, i.e. aliasByNode(x.[j]*y*.z.*.w, 1, 4), return only the metrics whose backing Whisper files are not under symlink.

It seems some searching functionality may malfunction when there is a symlink in the path of the Whispers.

CarbonAPI Version
0.16.0~1

Logs
Will update if I reproduce and find something which might be interesting.

CarbonAPI Configuration:
Basically we've barely modified the file versus the default version. We've focused on listening host:port. Will provide if necessary.

Simplified query (if applicable)
A general query template is in the description.

Backend metric retention and aggregation schemas
Will provide if needed, I believe it is not related to the nature of this issue.

Backend response (if possible)
Not sure what to fill-in here other than what is elaborated in description.
Our backend is go-carbon, the default behavior. We've not employed other solutions such as clickhouse.

Additional context
go-carbon 0.17.1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions