Check store heartbeat before updating existed store
Open
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 783
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 36
Description
If a store is running, and we copy its data to another store and start it, PD will update the store to the copied store, but the original store is still running, which will cause some problem.
We should check the state (e.g. last heartbeat timestamp) of existed store before updating it, if the original store is still running, we should reject the copied store.
Contributor guide
Assessment
This issue has not been assessed yet.