Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: skip adding invalid if not exists to cmd topic #8206

Merged
merged 7 commits into from
Oct 1, 2021
Merged

fix: skip adding invalid if not exists to cmd topic #8206

merged 7 commits into from
Oct 1, 2021

Conversation

wcarlson5
Copy link
Contributor

changes @spena suggested instead

Testing done

Describe the testing strategy. Unit and integration tests are expected for any behavior changes.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@wcarlson5 wcarlson5 requested review from rodesai and spena September 30, 2021 18:19
@wcarlson5 wcarlson5 requested a review from a team as a code owner September 30, 2021 18:19
Copy link
Member

@spena spena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @wcarlson5 . This seems much simpler. Could you add unit tests for this? Also, add some integration tests. Perhaps KsqlResourceTest? Or EndToEndIntegrationTest or a QTT?

@wcarlson5
Copy link
Contributor Author

@spena I added a RecoveryTest and some unit test. Neither EndToEndIntegrationTest or a QTT use the DistributingExecutor

@wcarlson5
Copy link
Contributor Author

I just finished running through some manual testing and was able to verify the msg and that the query doesn't vanish on restart

… skip_if_not_exists_invalid

# Conflicts:
#	ksqldb-rest-app/src/main/java/io/confluent/ksql/rest/server/computation/DistributingExecutor.java
Copy link
Member

@spena spena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, this looks better. Thanks.

@wcarlson5 wcarlson5 merged commit 540a449 into confluentinc:master Oct 1, 2021
wcarlson5 added a commit that referenced this pull request Oct 4, 2021
* fix: skip adding invalid if not exists to cmd topic

(cherry picked from commit 540a449)
@wcarlson5 wcarlson5 deleted the skip_if_not_exists_invalid branch October 6, 2021 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repeated IF NOT EXISTS used with CSAS/CTAS results in dropped query when ksql is restarted
2 participants