Skip to content

Wrong codec when using multiple codec with in-memory kv store. #131

@cyriltovena

Description

@cyriltovena

When creating multiple client with different codec, only the first registered codec will be used when using the in-memory KV.

This has caused me multiple issues while trying to use another in-memory store in loki.

see https://github.com/grafana/loki/blob/main/vendor/github.com/grafana/dskit/kv/client.go#L140-L142

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