Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

WARNING - Starting db txn ... from sentinel context #49

@michaelkaye

Description

@michaelkaye

The code is currently logging this repeatedly:

synapse.storage.database - WARNING - - Starting db txn 'get_replication_hosts' from sentinel context
synapse.storage.database - WARNING - - Starting db connection from sentinel context: metrics will not be
synapse.storage.database - WARNING - - Starting db txn 'get_latest_profile_replication_batch' from sentinel context
synapse.storage.database - WARNING - - Starting db connection from sentinel context: metrics will not be

Doesn't seem to cause any issues but the metrics for these transactions are not being reported to prometheus and WARNING's are polluting the log files. Would be good to move them to the right context somehow.

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