Skip to content

Delay DB size metric until Db is started #1089

@MegaRedHand

Description

@MegaRedHand

We have a race condition. If this measurement is called before Db is started, the measurement fails with the message:

Error when calling MFA defined by measurement: 'Elixir.LambdaEthereumConsensus.Telemetry' db_size []
Class=exit
Reason={noproc,{'Elixir.GenServer',call,
                                   ['Elixir.LambdaEthereumConsensus.Store.Db',
                                    get_ref,5000]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions