GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [fix][test] Fix ServerCnxTest.testSendWithoutSchemaVersionFromAutoProduceBytesProducer failing since #27314 by merlimat · Pull Request #27331 · apache/pulsar Conversation
Contributor
Motivation#27312 and #27314 changed the same check in
With both on master, the replicator case gets a send receipt instead of an error. The test has failed in every The replicator branch #27312 added to the error code can't be reached either, since the check now only runs for producers that aren't replicators: if (isAutoProduceBytes && requiresSchemaVersion && !isRemoteOrShadow && ...) { ... ServerError error = isRemoteOrShadow ? ServerError.MetadataError : ServerError.NotAllowedError; Modifications
The broker behaves the same as before. Any release branch that gets both #27312 and #27314 needs this change too. Verifying this change
This change is already covered by existing tests, such as Does this pull request potentially affect one of the following parts:If the box was checked, please highlight the changes
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…duceBytesProducer failing since apache#27314 apache#27312 kept MetadataError for replicator producers and tested it, and apache#27314 then took replicator producers out of the schema-version check, so the broker now accepts their messages and the replicator case gets a send receipt. Remove that case and the replicator branch of the error code, which can no longer be reached.
10 tasks
lhotari
approved these changes
codelipenghui
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reviewed commit dcbb858. No actionable findings identified within the reviewed scope. Reproduced the parent-source ClassCastException; the patched connection test and broker/topic schema-enforcement tests passed. The two-cluster replication test could not reach publishing because local disk usage exceeded BookKeeper's threshold, making its bookies read-only.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
11 tasks
poorbarcode
pushed a commit
to poorbarcode/pulsar
that referenced
this pull request
…duceBytesProducer failing since apache#27314 (apache#27331) (cherry picked from commit 86efc14)
poorbarcode
pushed a commit
to poorbarcode/pulsar
that referenced
this pull request
…duceBytesProducer failing since apache#27314 (apache#27331) (cherry picked from commit 86efc14)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabelsProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |