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

Add delete all for tenants in Vespa #3970

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Add delete all for tenants in Vespa #3970

merged 1 commit into from
Feb 13, 2025

Conversation

pablonyx
Copy link
Contributor

@pablonyx pablonyx commented Feb 12, 2025

Description

Adds functionality for deleting documents by tenant (useful for inactive tenants we want to purge)

How Has This Been Tested?

Tested with existing tenant

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

Copy link

vercel bot commented Feb 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2025 10:36pm

backend/scripts/debugging/onyx_vespa.py Show resolved Hide resolved
f"Failed to delete doc_id={doc_id_value}, "
f"status={response.status_code}, response={response.text}"
)
print(
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason to print if we are already using logger.error?

@pablonyx pablonyx force-pushed the delete_all_tenant_vespa branch from ab25e46 to 27e4aaa Compare February 13, 2025 22:33
@pablonyx pablonyx merged commit c6434db into main Feb 13, 2025
6 of 10 checks passed
@yuhongsun96 yuhongsun96 deleted the delete_all_tenant_vespa branch February 13, 2025 23:02
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