Add proxy audit log and other assorted fixes#8781
Merged
scbedd merged 20 commits intoAzure:mainfrom Aug 6, 2024
Merged
Conversation
… the ordering we want
…portant events about a specific recording.
scbedd
commented
Aug 4, 2024
scbedd
commented
Aug 5, 2024
alzimmermsft
reviewed
Aug 5, 2024
benbp
reviewed
Aug 5, 2024
mikeharder
approved these changes
Aug 5, 2024
benbp
approved these changes
Aug 5, 2024
scbedd
commented
Aug 6, 2024
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR
stoppedwhile the last entry in the recording is still writing it's body. That location in the code has already obtained a lock on the session, so merely adding the same toplayback/stopprevents the test from being stopped while the last entry is being streamed back. This was the source of theChannel Response timeoutissues thatjava- corewas seeing @alzimmermsft (at least, it has not reproed in the 3 core runs since I added this fix 🤞 )Recordcode pathsjava - corewhich beats the absolute hell out of the server.@mikeharder I need to add audit items to the
recordpathway, but I was laser focused on gettingplaybackconcurrency issues resolved for the java folks. Please take a look, see how I'm retaining the various locks on resources (by reducing to a single access lock to each playback session). I think I've nailed most of the edge cases.@alzimmermsft looking at the latest
java - corefailures running with this version of the test-proxy, I don't think the proxy is related to those. I'm not declaring total victory with this PR but the issues are seriously reduced.This version is standing up to multiple storage runs:
