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

delete from storage #876

Closed
wants to merge 18 commits into from

Conversation

komalg1
Copy link
Collaborator

@komalg1 komalg1 commented May 13, 2024

Purpose

  • ...

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@@ -65,6 +66,9 @@
files_to_delete = search_handler.delete_files(
selected_files,
)
# Delete from Storage
blob_client = AzureBlobStorageClient()
blob_client.delete_files(selected_files)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Now that @liammoat is handling the blob delete event to delete the document from the search index under #893, do you think we should just do the blob delete from here, and let the function trigger handle the index delete?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes will close this PR for now and wait for @liammoat changes to go in

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.

None yet

3 participants