-
Notifications
You must be signed in to change notification settings - Fork 47
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
Constant POST requests to https://<account>.table.core.windows.net:443/Tables() failing with 409 #42
Comments
409 is the status code for conflict (as per here). Azure Table Storage gets back a conflict when the (Partition Key, Row Key) pair is identical to another row in the table. Can you please give us some more details about how you use this sink (in particular, how and if you generate your own partition / row keys)? Catalin |
We are seeing the same thing here @cdavid this is not happening on an insert, rather what appears to be the account table list query. |
You can close the issue, this seems to be expected behavior for the client library 8+ CloudTable.CreateIfNotExists throws a 409 error and moves on if the table already exists. |
I feel like we should address this by checking manually if the table already exists as outlined here: https://medium.com/medialesson/application-insights-azure-table-storage-createifnotexists-errors-3e2584a38b24 |
Fixed |
Hi,
We are using the
Serilog.Sinks.AzureTableStorage
v4.0.0 for logging from a web app running on .net framework 4.6.1, hosted in Azure as an App Service. Logging is currently the only thing in the system that writes to Azure Table Storage.During high traffic periods where a lot of log entries are produced we are seeing (logged as Dependency Call Failures in Azure App Insights) a very high rate of POST requests to
https://<account>.table.core.windows.net:443/Tables()
that fail with 409 from the Azure Table Service API.The log entries that the application produces accumulate normally under the
LogEventEntity
table.What could be the source of these requests? Does the AzureTableStorage sink implement some kind of health check mechanism that could be doing this kind of requests? (That seem invalid)
Thanks,
Adrian
The text was updated successfully, but these errors were encountered: