-
Notifications
You must be signed in to change notification settings - Fork 288
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: handle BlobDelete event type in batch_push_results
#893
Conversation
Coverage Report •
|
Team - Couple of things to note about this PR:
|
batch_push_results
batch_push_results
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, looks good. some comments.
Definitely agree with " I propose the admin app should delete the blob, and let the function handle the index." - could you please create an issue to cover this if there isn't one already? Update: I see that @komalg1 is working on this in #876 - would be worth the two of you catching up. |
@liammoat thanks so much for this, really appreciate it! ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Arpit Gaur <gaurarpit@gmail.com>
…les PEP8 compliant (#899)
Co-authored-by: Adam Dougal <adamdougal@microsoft.com> Co-authored-by: Adam Dougal <adamdougal@users.noreply.github.com> Co-authored-by: Arpit Gaur <arpitgaur@microsoft.com>
Co-authored-by: Arpit Gaur <arpitgaur@microsoft.com>
Co-authored-by: Arpit Gaur <gaurarpit@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work
Purpose
batch_push_results
receives, but does not handle, blob delete events.Does this introduce a breaking change?
How to Test
#1
Create a blob, uploading via Azure Storage#2
Delete the blob from Azure Storage#3
Trigger `BatchStartProcessing functionWhat to Check
Verify that the following are valid
#1
BatchPushResults
is triggered, and the document is indexed.#2
BatchPushResults
is triggered, and the associated indexes are removed.#3
BatchPushResults
is triggered, as normal, and the documents are indexed.Other Information
Remaining Actions
The following is outstanding for this PR: