tikv / tikv/client-go

missing check store state when get tiflash_mpp info

Open
#533 1 comment 0 reactions 1 assignee View on GitHub

@guo-shaoge is already working on this.

Since Sep 7, 2022.

Dominant language
Go
Stars
362
Forks
274
Avg merge
4d 19m
Merged PRs (30d)
12

Description

https://github.com/tikv/client-go/blob/681fb6e537b5b114f07cbc9eb0d6564742a470aa/internal/locate/region_cache.go#L1832

Should also check store.state, otherwise may get tomestone or offline store. (s.GetState() == metapb.StoreState_Up)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.