Skip to content

tso/local: remove dc location and local_locator.go #23033

tso/local: remove dc location and local_locator.go

tso/local: remove dc location and local_locator.go #23033

Triggered via pull request November 25, 2024 10:08
Status Failure
Total duration 3m 52s
Artifacts

check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
statics: server/grpc_service.go#L2512
unused-receiver: method receiver 's' is not referenced in method's body, consider removing or renaming it as _ (revive)
statics: server/cluster/cluster.go#L492
(*RaftCluster).stopTSOJobsIfNeeded - result 0 (error) is always nil (unparam)
statics: pkg/tso/tso.go#L243
func `(*timestampOracle).resetUserTimestamp` is unused (unused)
statics: server/grpc_service.go#L2509
var `mockLocalAllocatorLeaderChangeFlag` is unused (unused)
statics: server/grpc_service.go#L2651
func `(*GrpcServer).validateInternalRequest` is unused (unused)
statics: pkg/tso/tso.go#L428
S1039: unnecessary use of fmt.Sprintf (gosimple)
statics
Process completed with exit code 2.