You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "Technoboy- (via GitHub)" <gi...@apache.org> on 2026/08/19 02:19:32 UTC
[PR] [improve][broker] Change partition metadata not-found log to warn [pulsar]
Technoboy- opened a new pull request, #26381:
URL: https://github.com/apache/pulsar/pull/26381
### Motivation
When a client repeatedly sends partition metadata requests for a topic under a non-existent tenant or namespace, the broker currently logs the failure as an error:
`Failed to get partition metadata`
This is noisy for expected client-side misconfiguration cases such as `Tenant does not exist`. The broker is healthy and still returns an error response to the client, so logging this path at error level can create unnecessary alerts and obscure real broker-side failures.
This change downgrades the log level to `warn` only for 404/not-found failures while preserving `error` logging for other partition metadata failures.
### Modifications
<!-- Describe the modifications you've done. -->
### 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.
*(or)*
This change is already covered by existing tests, such as *(please describe tests)*.
*(or)*
This change added tests and can be verified as follows:
*(example:)*
- *Added integration tests for end-to-end deployment with large payloads (10MB)*
- *Extended integration test for recovery after broker failure*
### Does this pull request potentially affect one of the following parts:
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
*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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [improve][broker] Change partition metadata not-found log to warn [pulsar]
Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece merged PR #26381:
URL: https://github.com/apache/pulsar/pull/26381
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org