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

fix(noopGauge): fix NoopGauge going to infinite #170

Closed
wants to merge 1 commit into from

Conversation

cristian-joseb
Copy link

Motivation:

Explain here the context, and why you're making that change, what is the problem you're trying to solve.

Conformance:
When applying a Meter filter that return MeterFilterReply.DENY, a Gauge of type NoopGauge is returned, which is making the function not being executed then gauge.value() is called. This cause the Gauges.get method going on a infinity loop because of the if (candidateFunc.invoked) always returning false.

Your commits should be signed and you should have signed the Eclipse Contributor Agreement as explained in https://github.com/eclipse/vert.x/blob/master/CONTRIBUTING.md
Please also make sure you adhere to the code style guidelines: https://github.com/vert-x3/wiki/wiki/Vert.x-code-style-guidelines

@tsegismont
Copy link
Contributor

Thank you @cristian-joseb . As explained in #169 , there is a fix already for 4.3 that has not been backported to 3.9.

I'm closing this PR and will apply the fix we already have instead.

@tsegismont tsegismont closed this Feb 27, 2023
@cristian-joseb
Copy link
Author

@tsegismont when is this planned to be applied, we want to update out code base, since we still are working on migrating to Vertx4.

@cristian-joseb
Copy link
Author

I saw the PR was merged, thank you @tsegismont :)

@tsegismont
Copy link
Contributor

You're welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants