Skip to content

Conversation

@thetumbled
Copy link
Member

@thetumbled thetumbled commented Jun 12, 2024

Motivation

Those bundles that are filtered when try to unload them should not be included in the indicator.

Modifications

Increment the metric only when the bundle are unloaded.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: thetumbled#58

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jun 12, 2024
@thetumbled
Copy link
Member Author

PTAL, thanks. @heesung-sn @Demogorgon314

@heesung-sohn
Copy link
Contributor

Good catch! can you also add a unit test too? thanks.

@thetumbled
Copy link
Member Author

Good catch! can you also add a unit test too? thanks.

I add an unit test, PTAL, thanks.

@thetumbled
Copy link
Member Author

/pulsarbot rerun-failure-checks

@Demogorgon314 Demogorgon314 merged commit dfbf05a into apache:master Jun 17, 2024
@Technoboy- Technoboy- added this to the 3.3.0 milestone Jul 10, 2024
@lhotari lhotari modified the milestones: 3.3.0, 4.0.0 Oct 14, 2024
hanmz pushed a commit to hanmz/pulsar that referenced this pull request Feb 12, 2025
### Motivation

Those bundles that are filtered when try to unload them should not be included in the indicator.

### Modifications

Increment the metric only when the bundle are unloaded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants