tikv / tikv/pd

Check store heartbeat before updating existed store

Open
#482 0 comments 0 reactions 1 assignee Claimed by @overvenus View on GitHub
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

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.