Skip to content

Caching doesn't work for find queries in some configurations #302

@perederyaev

Description

@perederyaev

Hello,
I noticed that caching doesn't work for find queries for some configurations (for example when blacklist enabled).
I've done some debugging and found that on the line https://github.com/go-graphite/graphite-clickhouse/blob/master/find/handler.go#L189 we try to call f.result.Bytes() which's not implemented in some wrappers (for blacklist - https://github.com/go-graphite/graphite-clickhouse/blob/master/finder/blacklist.go#L56).
The error is skipped silently without any messages in log and caching is not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions