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

Use stable BTreeMap directly to report stats #2631

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

frederikrothenberger
Copy link
Member

@frederikrothenberger frederikrothenberger commented Sep 27, 2024

When implementing the original stats feature, I missed that len exists on the stable BTreeMap, leading to a much more complicated implementation for keeping track of the number of event stats related data.

This is the first step of simplifying again (we need to wait one release before removing the duplicated counters for rollback compatibility).


🟡 Some screens were changed

When implementing the original stats feature, I missed that `len` exists
on the stable `BTreeMap`, leading to a much more complicated implementation
for keeping track of the number of event stats related data.

This is the first step of simplifying again (we need to wait one
release before removing the duplicated counters for rollback
compatibility).
Copy link
Collaborator

@lmuntaner lmuntaner left a comment

Choose a reason for hiding this comment

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

Nice!

@frederikrothenberger frederikrothenberger added this pull request to the merge queue Sep 27, 2024
Merged via the queue into main with commit 140a969 Sep 27, 2024
66 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/prepare-remove-counters branch September 27, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants