-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve observability of resolved-ts and safe_ts #15082
Labels
affects-6.5
affects-7.1
severity/moderate
type/bug
Type: Issue - Confirmed a bug
type/enhancement
Type: Issue - Enhancement
Comments
This was referenced Jul 10, 2023
ti-chi-bot bot
added a commit
that referenced
this issue
Jul 24, 2023
ref #15082 feat(tikv-ctl): add get_region_read_progress Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
This was referenced Jul 25, 2023
ti-chi-bot bot
added a commit
that referenced
this issue
Jul 26, 2023
) ref #15082 metrics: add min_safe_ts, min_safe_ts_region and min_safe_ts_gap Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ekexium
added a commit
to ekexium/tikv
that referenced
this issue
Jul 26, 2023
…v#15118) ref tikv#15082 metrics: add min_safe_ts, min_safe_ts_region and min_safe_ts_gap Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
This was referenced Jul 26, 2023
ti-chi-bot bot
added a commit
that referenced
this issue
Jul 31, 2023
ref #15082 Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ekexium
added a commit
to ekexium/tikv
that referenced
this issue
Aug 4, 2023
ref tikv#15082 feat(tikv-ctl): add get_region_read_progress Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
This was referenced Aug 11, 2023
ti-chi-bot bot
added a commit
that referenced
this issue
Aug 21, 2023
ref #15082 Record and print `duration to last update_safe_ts` and `duration to last consume leader`. Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot
pushed a commit
to ti-chi-bot/tikv
that referenced
this issue
Aug 21, 2023
ref tikv#15082 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/tikv
that referenced
this issue
Aug 21, 2023
ref tikv#15082 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ekexium
added a commit
to ekexium/tikv
that referenced
this issue
Aug 21, 2023
ref tikv#15082 Record and print `duration to last update_safe_ts` and `duration to last consume leader`. Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
17 tasks
ti-chi-bot bot
added a commit
that referenced
this issue
Aug 31, 2023
ref #15082 Record and print `duration to last update_safe_ts` and `duration to last consume leader`. Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot bot
added a commit
that referenced
this issue
Sep 5, 2023
ref #15082 Add more logs and metrics for resolved-ts. Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot
pushed a commit
to ti-chi-bot/tikv
that referenced
this issue
Sep 5, 2023
ref tikv#15082 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/tikv
that referenced
this issue
Sep 5, 2023
ref tikv#15082 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot bot
added a commit
that referenced
this issue
Sep 6, 2023
ref #15082 Add more logs and metrics for resolved-ts. Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: ekexium <eke@fastmail.com> Co-authored-by: ekexium <eke@fastmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.5
affects-7.1
severity/moderate
type/bug
Type: Issue - Confirmed a bug
type/enhancement
Type: Issue - Enhancement
Development Task
Sometimes we suffer from resolved-ts not making progress. It's not always easy to find out the reason.
More metrics and logs can be enhanced to diagnose this.
applied_index, removed, because it cannot solely show useful information to usThe text was updated successfully, but these errors were encountered: