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.
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
[FEATURE] Cosmos | Connection endpoint rediscovery (connection state listener) #14697
[FEATURE] Cosmos | Connection endpoint rediscovery (connection state listener) #14697
Changes from all commits
84a37ab
d218925
11cbbf3
05c7e05
8dfa3db
e6e71f5
e082d81
069c822
3ead1cc
669ba8b
735f572
6db330d
48855b5
2367f50
fb9cac0
1dd708e
203507a
368b10f
a0b44a7
d810ba8
64a12af
29f2c73
e4df526
916f99e
ae1b11b
019e90b
ba4d4ed
2f0b886
ba13859
3293e11
a83cd62
1902669
f466158
6b72281
4a0360e
ea4ca55
a04d40d
18ab502
d2d892c
201b643
fa9eaf6
7c830cf
d4c8561
6c57447
b08361e
1ca1c3b
233f5b9
a631804
2079b5b
64d2111
bd54f11
94834b9
130de85
4ff0680
45ffb90
c280476
9f57a9c
77f3e88
cc2b936
ff4d980
ac593ec
4502126
90d98b9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How doe these sub-status code impact GoneRetryPolicy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed by way of the logs on test33 and also by code inspection. This does not effect retry policy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when rntbd throws GoneException, Gone will reach GoneAndRetryWithRetryPolicy, and it will decide how it should get retried, based on status/code and substatus code.
Please check the behaviour of GoneAndRetryWithRetryPolicy if for the given statuscode/substatus code it does the desired behabour or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we removing this? I found this very helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is reported, just not stored as a value. Are you saying that it is useful for debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as
durationInMicroSec
is removed, does the PR changes the information available in rntbd request diagnostics?if so could you provide a sample on new rntbd request timeline diagnostics format, info?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value will still be logged:
"serializationDiagnosticsContext":{"serializationDiagnosticsList":[{"serializationType":"ITEM_SERIALIZATION","startTimeUTC":"22 Sep 2020 17:40:59.239","endTimeUTC":"22 Sep 2020 17:40:59.239","durationInMicroSec":0},{"serializationType":"PARTITION_KEY_FETCH_SERIALIZATION","startTimeUTC":"22 Sep 2020 17:40:59.317","endTimeUTC":"22 Sep 2020 17:40:59.323","durationInMicroSec":5998}]},"gatewayStatistics":null,"systemInformation":{"usedMemory":"60586 KB","availableMemory":"8309590 KB","systemCpuLoad":"(2020-09-22T17:40:58.729927700Z 20.1%)"}}