-
Notifications
You must be signed in to change notification settings - Fork 525
Description
We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.
Describe the bug
Currently during diagnostics generation the 404 / 1002 status code displays as NotFound / PartitionKeyRangeGone instead of the correct, NotFound / ReadSessionNotAvailable. This is due to the fact that the 1002 substatus code is overloaded.
Fix should occur here:
azure-cosmos-dotnet-v3/Microsoft.Azure.Cosmos/src/Tracing/TraceWriter.TraceJsonWriter.cs
Line 397 in 8f59e24
| this.jsonWriter.WriteStringValue(storeResult.SubStatusCode.ToString()); |
To Reproduce
Steps to reproduce the behavior. If you can include code snippets or links to repositories containing a repro of the issue that can helps us in detecting the scenario it would speed up the resolution.
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
Provide a description of the actual behavior observed.
Environment summary
SDK Version:
OS Version (e.g. Windows, Linux, MacOSX)
Additional context
Add any other context about the problem here (for example, complete stack traces or logs).