Skip to content
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

Fixed Idle Connection recovery so that unprocessedResponseCount isn't over decremented #1989

Merged
merged 6 commits into from
Dec 13, 2022

Conversation

tkyc
Copy link
Member

@tkyc tkyc commented Dec 5, 2022

The unprocessedResponseCount needs to be decremented only when doneToken.isFinal is true.

Fixes #1971 also.

@lilgreenbird lilgreenbird changed the title Fixed ICR recovery so that unprocessedResponseCount isn't over decremented Fixed Idle Connection recovery so that unprocessedResponseCount isn't over decremented Dec 6, 2022
@tkyc tkyc force-pushed the ICR-unprocessed-reponse-count-fix branch from 5fca34a to 7f170e0 Compare December 6, 2022 16:57
lilgreenbird
lilgreenbird previously approved these changes Dec 13, 2022
Jeffery-Wasty
Jeffery-Wasty previously approved these changes Dec 13, 2022
@tkyc tkyc merged commit fd16cb8 into main Dec 13, 2022
@tkyc tkyc deleted the ICR-unprocessed-reponse-count-fix branch December 13, 2022 19:01
tkyc added a commit that referenced this pull request Dec 14, 2022
… over decremented (#1989)

* Updated onDone with reason/comment for unecessary decrement for future reference

* Added more ICR tests

* Added missing brackets

* Test table names needed to be unique

* Drop tables within test if exist

Co-authored-by: lilgreenbird <v-susanh@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants