这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

InfluxDB query cache does not take into account db parameter #2233

@earwin

Description

@earwin

If you do the same query against two different dbs (on one influx instance), you'll get the same results and the second query will never run.

The culprit is this string:

val, err = e.Cache.Get(q, getFn)

See, how db is not a part of a cache key.

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