Skip to content

*: optimize memory usage #20384

*: optimize memory usage

*: optimize memory usage #20384

Triggered via pull request May 11, 2024 07:37
Status Failure
Total duration 3m 39s
Artifacts

check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
statics: tests/server/cluster/cluster_test.go#L1339
cannot use region (variable of type "github.com/tikv/pd/pkg/core".RegionInfo) as *"github.com/tikv/pd/pkg/core".RegionInfo value in argument to rc.HandleRegionHeartbeat
statics: tests/server/cluster/cluster_test.go#L1346
cannot use region (variable of type "github.com/tikv/pd/pkg/core".RegionInfo) as *"github.com/tikv/pd/pkg/core".RegionInfo value in argument to rc.HandleRegionHeartbeat
statics: tests/server/cluster/cluster_test.go#L1355
cannot use region (variable of type "github.com/tikv/pd/pkg/core".RegionInfo) as *"github.com/tikv/pd/pkg/core".RegionInfo value in argument to rc.HandleRegionHeartbeat
statics: tests/server/cluster/cluster_test.go#L1362
cannot use region (variable of type "github.com/tikv/pd/pkg/core".RegionInfo) as *"github.com/tikv/pd/pkg/core".RegionInfo value in argument to rc.HandleRegionHeartbeat
statics: tests/server/cluster/cluster_test.go#L1369
cannot use region (variable of type "github.com/tikv/pd/pkg/core".RegionInfo) as *"github.com/tikv/pd/pkg/core".RegionInfo value in argument to rc.HandleRegionHeartbeat (typecheck)
statics: pkg/core/region.go#L265
copylocks: return copies lock value: github.com/tikv/pd/pkg/core.RegionInfo contains sync/atomic.Int32 contains sync/atomic.noCopy (govet)
statics: pkg/ratelimit/runner.go#L191
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
statics
Process completed with exit code 2.