*: optimize memory usage #20384
Annotations
8 errors
Make Check:
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
|
Make Check:
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
|
Make Check:
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
|
Make Check:
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
|
Make Check:
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)
|
Make Check:
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)
|
Make Check:
pkg/ratelimit/runner.go#L191
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
|
Make Check
Process completed with exit code 2.
|
Loading