Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Fix PERSIST_ETH1_CACHE / PERSIST_OP_POOL Metrics #4278

Closed
wants to merge 1 commit into from

Conversation

ethDreamer
Copy link
Member

Do these metrics ever get read? As far as I'm aware, they're only ever updated when lighthouse is shutting down?

@ethDreamer ethDreamer added v1.4.0 To be included in the v1.4.0 reelase v4.2.0 Q2 2023 and removed v1.4.0 To be included in the v1.4.0 reelase labels May 15, 2023
Copy link
Member

@paulhauner paulhauner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

It will be a bit of a race condition to try and read the value before Lighthouse actually shuts down. IIRC we used to persist this cache a bit more regularly.

I guess we can just leave the metric here since it's not doing much harm and it's possible that we get some data from it 🤷

@paulhauner paulhauner added the ready-for-merge This PR is ready to merge. label May 16, 2023
@michaelsproul
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request May 17, 2023
Do these metrics ever get read? As far as I'm aware, they're only ever updated when lighthouse is shutting down?
@bors
Copy link

bors bot commented May 17, 2023

@bors bors bot changed the title Fix PERSIST_ETH1_CACHE / PERSIST_OP_POOL Metrics [Merged by Bors] - Fix PERSIST_ETH1_CACHE / PERSIST_OP_POOL Metrics May 17, 2023
@bors bors bot closed this May 17, 2023
ghost pushed a commit to oone-world/lighthouse that referenced this pull request Jul 13, 2023
Do these metrics ever get read? As far as I'm aware, they're only ever updated when lighthouse is shutting down?
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
Do these metrics ever get read? As far as I'm aware, they're only ever updated when lighthouse is shutting down?
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
Do these metrics ever get read? As far as I'm aware, they're only ever updated when lighthouse is shutting down?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge. v4.2.0 Q2 2023
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants