Skip to content
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

Closed
22 of 24 tasks
ekexium opened this issue Jul 6, 2023 · 0 comments
Closed
22 of 24 tasks

Improve observability of resolved-ts and safe_ts #15082

ekexium opened this issue Jul 6, 2023 · 0 comments
Assignees
Labels
affects-6.5 affects-7.1 severity/moderate type/bug Type: Issue - Confirmed a bug type/enhancement Type: Issue - Enhancement

Comments

@ekexium
Copy link
Contributor

ekexium commented Jul 6, 2023

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.

@ekexium ekexium added the type/enhancement Type: Issue - Enhancement label Jul 6, 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>
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>
@ekexium ekexium self-assigned this Jul 27, 2023
ti-chi-bot bot added a commit that referenced this issue Jul 27, 2023
ref #15082

Fix the unintentional changes in #15118: let resolved-ts row be collapsed by default, and put panels in it.

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 bot added a commit that referenced this issue Jul 28, 2023
…_ts_region and min_safe_ts_gap (#15212)

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>
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>
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>
ti-chi-bot bot added a commit that referenced this issue Aug 31, 2023
…fe_ts_gap (#15315)

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>
ti-chi-bot bot pushed a commit that referenced this issue Aug 31, 2023
ref #15082

Cherry pick #15099 and #15327: add get_region_read_progress command in tikv-ctl

Signed-off-by: ekexium <eke@fastmail.com>
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>
ti-chi-bot bot pushed a commit that referenced this issue Oct 8, 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>
@ekexium ekexium closed this as completed Nov 28, 2023
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
Projects
None yet
Development

No branches or pull requests

1 participant