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

add replica selector init failed reason #988

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

bufferflies
Copy link
Contributor

@bufferflies bufferflies commented Sep 21, 2023

before:
[2023/09/21 14:35:50.702 +08:00] [INFO] [region_request.go:1522] ["throwing pseudo region error due to no replica available"] [conn=1887493856] [session_alias=] [req-ts=444406212641423730] [req-type=Cop] [region="{ region id: 186911575, ver: 832, confVer: 407 }"] [replica-read-type=leader] [stale-read=false] [request-sender="{rpcError:<nil>,replicaSelector: replicaSelector{selectorStateStr: nil, cacheRegionIsValid: unknown, replicaStatus: []}}"] [retry-times=0] [total-backoff-ms=0] [total-backoff-times=0] [max-exec-timeout-ms=60000] [total-region-errors=]
after
[2023/09/21 19:07:34.787 +08:00] [INFO] [region_request.go:1533] ["throwing pseudo region error due to no replica available"] [conn=3749708330] [session_alias=] [req-ts=444411269215682567] [req-type=Cop] [region="{ region id: 8580178, ver: 192, confVer: 401 }"] [replica-read-type=leader] [stale-read=false] [request-sender="{rpcError:cache region is invalid,need synced:false,ttl expired:false,replicaSelector: replicaSelector{selectorStateStr: nil, cacheRegionIsValid: unknown, replicaStatus: []}}"] [retry-times=0] [total-backoff-ms=0] [total-backoff-times=0] [max-exec-timeout-ms=60000] [total-region-errors=]

@bufferflies bufferflies changed the title add replica selector failed reason add replica selector init failed reason Sep 21, 2023
Signed-off-by: bufferflies <[email protected]>
@bufferflies bufferflies reopened this Sep 26, 2023
@bufferflies bufferflies merged commit 4c2ae43 into tikv:master Sep 26, 2023
10 checks passed
@bufferflies bufferflies deleted the region_cache branch September 26, 2023 05:31
crazycs520 added a commit to crazycs520/client-go that referenced this pull request Apr 16, 2024
This reverts commit 4c2ae43.

Signed-off-by: crazycs520 <[email protected]>
cfzjywxk pushed a commit that referenced this pull request Apr 16, 2024
…valid error (#1298)

* Revert "dco (#988)"

This reverts commit 4c2ae43.

Signed-off-by: crazycs520 <[email protected]>

* add comment

Signed-off-by: crazycs520 <[email protected]>

---------

Signed-off-by: crazycs520 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants