tikv / tikv/pd

optimize the goroutine in follower node

Open
#9,403 1 comment 0 reactions 1 assignee Claimed by @lhy1024 View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Enhancement Task
Hot region storage never update the storage, it can run after the node becomes leader

```
# 0x1ff7fa4 [github.com/tikv/pd/pkg/storage.(*HotRegionStorage](http://github.com/tikv/pd/pkg/storage.(*HotRegionStorage)).backgroundDelete+0x1e4 /workspace/source/pd/pkg/storage/hot_region_storage.go:182

1 @ 0xf11dee 0xf22885 0x1ff81dc 0xf46921
# 0x1ff81db github.com/tikv/pd/pkg/storage.(*HotRegionStorage).backgroundFlush+0xfb /workspace/source/pd/pkg/storage/hot_region_storage.go:213
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.