Skip to content

Fix comment of SuspendTime#1057

Merged
disksing merged 4 commits intotikv:masterfrom
ekexium:fix-comment-suspendtime
Nov 14, 2023
Merged

Fix comment of SuspendTime#1057
disksing merged 4 commits intotikv:masterfrom
ekexium:fix-comment-suspendtime

Conversation

@ekexium
Copy link
Contributor

@ekexium ekexium commented Nov 13, 2023

Based on current TiKV implementation, modify the comments to make them more precise.

@ekexium ekexium changed the title Fix comment suspendtime Fix comment of SuspendTime Nov 13, 2023
@ekexium ekexium force-pushed the fix-comment-suspendtime branch from 5f8b688 to aa79e39 Compare November 13, 2023 06:47
@ekexium ekexium requested a review from glorv November 13, 2023 06:47
Signed-off-by: ekexium <eke@fastmail.com>
@ekexium ekexium force-pushed the fix-comment-suspendtime branch from aa79e39 to d08b582 Compare November 13, 2023 06:48
// other kind of waits in series.
WaitTime time.Duration
// KvReadWallTime is the time used in KV Scan/Get.
// KvReadWallTime is the time used in KV Scan/Get. For get/batch_get,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// KvReadWallTime is the time used in KV Scan/Get. For get/batch_get,
// KvReadWallTime is the time used in KV Scan/Get. For coprocessor requests,

Coprocessor request queue time is more notable due to reschedule

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My point was that for get/batch_get, the field covers more procedures

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oo, you are right.

Signed-off-by: ekexium <eke@fastmail.com>
@ekexium ekexium force-pushed the fix-comment-suspendtime branch from 2c19e67 to 616154c Compare November 13, 2023 07:15
Copy link
Contributor

@glorv glorv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@disksing disksing merged commit c129e1b into tikv:master Nov 14, 2023
iosmanthus added a commit that referenced this pull request Dec 20, 2023
Co-authored-by: cfzjywxk <cfzjywxk@gmail.com>
Co-authored-by: cfzjywxk <lsswxrxr@163.com>
Co-authored-by: disksing <i@disksing.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zzm <zhouzemin@pingcap.com>
Co-authored-by: husharp <jinhao.hu@pingcap.com>
Co-authored-by: you06 <you1474600@gmail.com>
Co-authored-by: buffer <doufuxiaowangzi@gmail.com>
Co-authored-by: 3pointer <qdlc2010@gmail.com>
Co-authored-by: buffer <1045931706@qq.com>
Co-authored-by: husharp <ihusharp@gmail.com>
Co-authored-by: crazycs520 <crazycs520@gmail.com>
Co-authored-by: Smilencer <smityz@qq.com>
Co-authored-by: ShuNing <nolouch@gmail.com>
Co-authored-by: zyguan <zhongyangguan@gmail.com>
Co-authored-by: Jack Yu <jackysp@gmail.com>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: lucasliang <nkcs_lykx@hotmail.com>
Co-authored-by: healthwaite <148101100+healthwaite@users.noreply.github.com>
Co-authored-by: xufei <xufeixw@mail.ustc.edu.cn>
Co-authored-by: JmPotato <ghzpotato@gmail.com>
Co-authored-by: ekexium <eke@fastmail.com>
Co-authored-by: 山岚 <36239017+YuJuncen@users.noreply.github.com>
Co-authored-by: glorv <glorvs@163.com>
Co-authored-by: Yongbo Jiang <cabinfeveroier@gmail.com>
resolve locks interface for tidb gc_worker (#945)
fix some issues of replica selector (#910)  (#942)
fix some issues of replica selector (#910)
fix issue of configure kv timeout not work when disable batch client (#980)
fix batch-client wait too long and add some metrics (#973)
fix batch-client wait too long and add some metrics (#973)" (#984)
fix data race at the aggressiveLockingDirty (#913)
fix MinSafeTS might be set to MaxUint64 permanently (#994)
fix: fix invalid nil pointer when trying to record Store.SlownessStat. (#1017)
Fix batch client batchSendLoop panic (#1021)
fix request source tag unset (#1025)
Fix comment of `SuspendTime` (#1057)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants