[fix][broker] Fix invalid condition in logging exceptions#22412
Merged
lhotari merged 1 commit intoApr 3, 2024
Conversation
…riable isNot307And404Exception
|
@teet-vaher-sympower Please add the following content to your PR description and select a checkbox: |
Member
|
Great discovery. Thanks for the contribution @teet-vaher-sympower ! |
poorbarcode
approved these changes
Apr 3, 2024
lhotari
pushed a commit
that referenced
this pull request
Apr 3, 2024
(cherry picked from commit cd6f53b)
lhotari
pushed a commit
that referenced
this pull request
Apr 3, 2024
(cherry picked from commit cd6f53b)
lhotari
pushed a commit
that referenced
this pull request
Apr 3, 2024
(cherry picked from commit cd6f53b)
lhotari
pushed a commit
that referenced
this pull request
Apr 3, 2024
(cherry picked from commit cd6f53b)
lhotari
pushed a commit
that referenced
this pull request
Apr 3, 2024
(cherry picked from commit cd6f53b)
nodece
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
May 13, 2024
(cherry picked from commit cd6f53b)
hanmz
pushed a commit
to hanmz/pulsar
that referenced
this pull request
Feb 12, 2025
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #22412 +/- ##
============================================
+ Coverage 73.57% 73.72% +0.15%
+ Complexity 32624 32290 -334
============================================
Files 1877 1885 +8
Lines 139502 139881 +379
Branches 15299 15321 +22
============================================
+ Hits 102638 103132 +494
+ Misses 28908 28775 -133
- Partials 7956 7974 +18
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #22409
Motivation
If Admin API request is sent to the broker and it responds with 307-redirect (for example in case of the bundle is not served by this broker) then ERROR is written into the broker log file. And there are quite a lot of these errors.
broker log:
Modifications
Issue #21995 introduced a new variable
isNot307And404Exception. Previous code was substituted with the new variable in multiple places, but the exclamation mark in front of the variable (part of the previous code) was not removed. This PR removes the remaining unnecessary exclamation marks.Verifying this change
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
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: teet-vaher-sympower#1