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: DROP REPOSITORY now returns RepositoryMissingException #50

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

amotl
Copy link
Member

@amotl amotl commented Oct 3, 2023

Problem

All the PRs submitted by Dependabot failed.

Root cause

When a snapshot repository does not exist, DROP REPOSITORY now returns RepositoryMissingException.
With previous versions of CrateDB, it was RepositoryUnknownException. /cc @SStorm, @faymarie

Solution

This patch will make the code accept both variants.

Details

It first happened on GH-38, submitted by Dependabot on Sep 1, 2023.

With previous versions of CrateDB, it was `RepositoryUnknownException`.
@amotl amotl requested review from hammerhead and seut October 3, 2023 22:33
@amotl amotl marked this pull request as ready for review October 3, 2023 22:36
@amotl amotl merged commit bc80031 into main Oct 4, 2023
3 checks passed
@amotl amotl deleted the amo/fix-tests branch October 4, 2023 07:41
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.

2 participants