Skip to content

Fix azure_blob_storage input missing blobs #3294

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

Merged

Conversation

mihaitodor
Copy link
Collaborator

Fixes #3189, or so I hope...

This also updates the Azure dependencies.

Annoyingly, the original CosmosDB emulator doesn't have an ARM-based container and the new one (mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview) has some gaps which break the existing tests such as: Azure/azure-cosmos-db-emulator-docker#182.

Fixes #3189, or so I hope...

This also updates the Azure dependencies.

Annoyingly, the original CosmosDB emulator doesn't have an
ARM-based container and the new one ([`mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview`](https://learn.microsoft.com/en-us/azure/cosmos-db/emulator-linux))
has some gaps which break the existing tests such as: Azure/azure-cosmos-db-emulator-docker#182.

Signed-off-by: Mihai Todor <todormihai@gmail.com>
This is a refinement of the fix in #3221. I somehow missed that
the warning message would only get printed for a single discovered
object since we could get multiple paths from SQS, but we only
send a single ack after all the objects are processed.

Signed-off-by: Mihai Todor <todormihai@gmail.com>
@mihaitodor mihaitodor force-pushed the mihaitodor-fix-azure-blob-storage-input-missing-blobs branch from 0459a98 to ee8e961 Compare March 26, 2025 02:12
@mihaitodor
Copy link
Collaborator Author

Thanks @rockwotj! I sneaked in there a small fix for the aws_s3 input as well. I think the warning message should be more consistent now if users somehow end up processing multiple deleted objects in the same batch. I somehow overlooked that in #3221.

@mihaitodor mihaitodor merged commit e905254 into main Mar 26, 2025
4 checks passed
@mihaitodor mihaitodor deleted the mihaitodor-fix-azure-blob-storage-input-missing-blobs branch March 26, 2025 12:44
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.

Files are not all removed for azure_blob_storage with max_in_flight value greater than 1
2 participants