Skip to content

the origin metrics of isolation level is not zero if isolation level is changed. #4685

Open
@bufferflies

Description

Bug Report

The origin isolation level metircs can not reset zero if isolation level is changed.
The sum of label should equal to the count of the regions in cluster.
middle_img_v2_da068dfa-db5c-4aad-85bd-999266c9eccg

the promQL is: pd_regions_label_level{}

What did you do?

scale out from single center to three centers, so the new isolation level is "zone".

What did you expect to see?

the host's isolation level shoule be zero and the count of the label should equal to the count of the regions in cluster.

What did you see instead?

the host's isolation level is not zero.

What version of PD are you using (pd-server -V)?

v4.0.12

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions