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 — [qa] Replicate Kafka test topics so that they survive a broker restart by ryzhyk · Pull Request #7894 · feldera/feldera Conversation
Contributor
A test topic had one replica, so whenever the CI cluster restarted the broker that held it, the topic had no leader and the test's producer flush timed out. Topics now take the broker's default replication factor, 3 on the CI cluster and 1 on a single broker. The tests' producers become idempotent, because the retries that follow a leader change can otherwise write a record twice, and the tests count records. Linked IssueFixes #7550 (the original CI failure was apparently cause by a strimzi bug, but it's nevertheless a good idea to harden tests against broker failures) Describe Manual Test PlanChecklist
Breaking Changes?Mark if you think the answer is yes for any of these components:
Describe Incompatible Changes
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsA test topic had one replica, so whenever the CI cluster restarted the broker that held it, the topic had no leader and the test's producer flush timed out. Topics now take the broker's default replication factor, 3 on the CI cluster and 1 on a single broker. The tests' producers become idempotent, because the retries that follow a leader change can otherwise write a record twice, and the tests count records. Fixes #7550 Signed-off-by: Leonid Ryzhyk <[email protected]>
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Variant 1 of TestKafkaAvro still created its topics with one replica, which a broker restart leaves without a leader (#7550). CI deselects the test for now, so this matters once it runs again. Signed-off-by: Leonid Ryzhyk <[email protected]>
gz
approved these changes
The setup read the variant id where it expected a topic's creation date, so it deleted every kafka_avro topic on the cluster, including those of runs still in progress against it, such as the other architecture's job. It now reads the date that each topic name carries. Signed-off-by: Leonid Ryzhyk <[email protected]>
ryzhyk
enabled auto-merge
ryzhyk
disabled auto-merge
Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabelsProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Runtime Integration Tests: test_connector_status fails with 'Failed to flush all Kafka messages' after topic partition count drops to 0Uh 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 01402503 — 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. |