-
Notifications
You must be signed in to change notification settings - Fork 15
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
What does setting CreateContainerIfNotExists do? #91
Comments
this is good point! we doing some updates, and I will add this functionality |
Cheers, I have done some sinful things as a workaround for now: if (storageProvider is GCPStorage baseStorage)
{
Log.Logger.Debug("Forcing GCP storage container creation to true");
var field = typeof(GCPStorage).GetField("IsContainerCreated",
BindingFlags.NonPublic | BindingFlags.Instance);
field?.SetValue(baseStorage, true);
Log.Logger.Debug("GCP storage container creation forced to true");
} |
I also discovered that |
plese check version '2.1.16' |
Is this fixed? |
Almost. Most of the issues I saw before are now handled correctly. However, for Azure there is still an issue, and today I finally had time to debug what the issue is; I think the problem is that in
We use very restrictive Azure blob storage container settings for our production containers, so an underlying call to
While everything seems to work fine on the surface, this issue slows down all blob storage operations, and pollutes our logs with the above error level messages, when using Azure as the blob storage provider. So I think it perhaps would be better to always set |
can you check new version please?
|
With version 2.1.19 we only get the ugly log statement once per session, so that is acceptable. Thank you! 🙂 |
I don't want this library to try and create buckets. I know the bucket exists.
My IAM user doesn't have permission to create buckets, so it's never going to get a HTTP 409 back from GCP.
The text was updated successfully, but these errors were encountered: