-
Notifications
You must be signed in to change notification settings - Fork 524
Trace: Fixes thread safety issue in Trace class causing high CPU usage and InvalidOperationException #5361
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
Merged
Trace: Fixes thread safety issue in Trace class causing high CPU usage and InvalidOperationException #5361
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
2a77217
Initial plan
Copilot 8609dea
Fix InvalidOperationException in CosmosDiagnostics.ToString() due to …
Copilot ba096bd
Complete fix for InvalidOperationException - handle all trace enumera…
Copilot f2fd10e
Merge branch 'master' into copilot/fix-5112
FabianMeiswinkel 9a2c674
Update trace walking logic to prevent modifications during walk opera…
Copilot 4e93c98
Remove unused snapshot methods from Trace class
Copilot 001766a
Address reviewer feedback: centralize walking state management in Cos…
Copilot 7c15aa8
Address reviewer feedback: return NoOpTrace and fix locking strategy
Copilot 824d33d
Address reviewer feedback: centralize walking state management and re…
Copilot dd1ccd7
Some nits manually pushed
kirankumarkolli 4a302d0
Address reviewer feedback: move IsBeingWalked to ITrace interface and…
Copilot 1c0d072
Few nits
kirankumarkolli e00ed26
Changing the logic to not ignore modifications when materialization h…
FabianMeiswinkel eba2640
Update Trace.cs
FabianMeiswinkel c5b66cc
Update SummaryDiagnostics.cs
FabianMeiswinkel ab1bff2
Update Trace.cs
FabianMeiswinkel 563dd44
Update Trace.cs
FabianMeiswinkel b221911
Adding Assert on IsBeingWalked
FabianMeiswinkel 6820d2e
Fixing CorrelatedActivityId Tracing
FabianMeiswinkel 130a8c3
Update Trace.cs
FabianMeiswinkel 7b73bbe
Update BatchAsyncOperationContextTests.cs
FabianMeiswinkel 26a05bb
Update BatchAsyncOperationContextTests.cs
FabianMeiswinkel 4a7eeb4
Update PartitionKeyBatchResponseTests.cs
FabianMeiswinkel b9cd3d6
Update CosmosDiagnosticsUnitTests.cs
FabianMeiswinkel c8125d3
Update Trace.cs
FabianMeiswinkel 269aeb4
Update RegionFailoverTests.cs
FabianMeiswinkel 07cce9c
Update TraceTests.cs
FabianMeiswinkel 6d64bff
Update TraceTests.cs
FabianMeiswinkel 9109651
Update NoOpTrace.cs
FabianMeiswinkel 2c06779
Update NoOpTrace.cs
FabianMeiswinkel 059a5ce
Fixing test issues
FabianMeiswinkel d3050b0
Update FullPipelineTests.cs
FabianMeiswinkel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.