tikv / tikv/pd

Misleading store state

Open
#1,566 3 comments 1 reaction 0 assignees View on GitHub
needs-type status/discussion-wanted
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

Currently, the status of down/disconnect is not reflected in the meta information of the store. As long as you do not manually go offline, the meta is always Up. This leads to the inability to determine the down state when using the grpc or HTTP interface to query the meta information of the store, and it is easy to mistake it as normal (but not).

Proposal: Define new state to use in the API, distinguish from that persistent to storage.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how store status and meta information are represented and exposed through the gRPC and HTTP interfaces. Define done as an API-visible state that distinguishes a down or disconnected store from a store that is persistently marked offline, without persisting the new state.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.