yugabyte/yugabyte-db
View on GitHub[DocDB] Retrigger delete tablet tasks after recovering from a network partition
Open
#22,212 opened on Apr 30, 2024
area/docdbgood first issuekind/bugpriority/medium
Repository metrics
- Stars
- (8,229 stars)
- PR merge metrics
- (Avg merge 17d 21h) (92 merged PRs in 30d)
Description
Jira Link: DB-11132
Description
If a tserver is disconnected from other nodes (but not shut down), its tablet peers will be kicked out of their RAFT groups and the load balancer will add new peers. When it reconnects to the other nodes, the master / tservers will not send a delete for the tablets that were kicked out (so they are stuck in the RUNNING state).
The tablet peers should be deleted. Possible fixes:
- Force a full heartbeat after a tserver is marked dead
- Periodically do full heartbeats from all tservers
- If a tserver heartbeats to a member of the active quorum with a newer config, tell the stale tserver to do a full heartbeat (which will cause the master to send DeleteTablet requests)
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
- I confirm this issue does not contain any sensitive information.