Skip to content

retry stale read as stale if leader is not accessible #5240

retry stale read as stale if leader is not accessible

retry stale read as stale if leader is not accessible #5240

Triggered via pull request January 7, 2025 20:38
Status Failure
Total duration 1m 52s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 3 warnings
golangci: internal/kvrpc/batch.go#L18
could not import github.com/tikv/client-go/v2/internal/locate (-: # github.com/tikv/client-go/v2/internal/locate
golangci: internal/locate/replica_selector.go#L311
undefined: leader) (typecheck)
golangci: txnkv/rangetask/delete_range.go#L47
could not import github.com/tikv/client-go/v2/internal/locate (-: # github.com/tikv/client-go/v2/internal/locate
golangci: internal/locate/replica_selector.go#L311
undefined: leader) (typecheck)
golangci: txnkv/txnlock/lock_resolver.go#L34
could not import github.com/tikv/client-go/v2/internal/locate (-: # github.com/tikv/client-go/v2/internal/locate
golangci: internal/locate/replica_selector.go#L311
undefined: leader) (typecheck)
golangci: txnkv/client.go#L125
c.GetTimestampWithRetry undefined (type *Client has no field or method GetTimestampWithRetry) (typecheck)
golangci: internal/locate/accessmode.go#L1
: # github.com/tikv/client-go/v2/internal/locate [github.com/tikv/client-go/v2/internal/locate.test]
golangci: internal/locate/replica_selector.go#L311
undefined: leader (typecheck)
golangci
issues found
test: internal/locate/replica_selector.go#L311
undefined: leader
test
Process completed with exit code 1.
race-test: internal/locate/replica_selector.go#L311
undefined: leader
race-test
Process completed with exit code 1.
golangci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
race-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636