tidb-challenge-program/bug-hunting-issue

P1-[4.0 bug hunting]-[Dashboard]-lots of missing fields in cluster info hosts

Opened this issue · 9 comments

YKG commented

1. What did you do?

  • deploy a cluster on Aliyun with tiup
  • visit PD's dashboard -- cluster info -- hosts

2. What did you expect to see?

All the info in the table is not empty

3. What did you see instead?

Lots of missing fields

4. What version of TiDB are you using? (tidb-server -V or run select tidb_version(); on TiDB)

TiDB Version: v4.0.0-rc.2

批注 2020-05-22 130746

/bug P1

YKG commented

/pick up challenge

YKG commented

/pick-up-challenge

@YKG sorry for this accident, we will fix it ASAP.
@you06 something wrong with this challenge issue, PTAL.

YKG commented

@you06 @breeswish Just want to confirm if there anyone is working on this issue? If no one is working on this now, I want to try to fix it.

Accroding to my investigation, the root cause is the incorrect implementation of the function savePartition. Maybe the key is in this line . I tried with tiup playground, and that line will keep overwriting other service's partitionMap if multi services running on the same host.

Good catch, there is no one working on this.

YKG commented

/pick-up-challenge

@YKG pick up issue success, PTAL @tidb-challenge-program/point-team

This pick has been automatically canceled after more than a week.