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

Misuse of trace region in tso_dispatcher #8534

Open
zyguan opened this issue Aug 15, 2024 · 1 comment
Open

Misuse of trace region in tso_dispatcher #8534

zyguan opened this issue Aug 15, 2024 · 1 comment

Comments

@zyguan
Copy link

zyguan commented Aug 15, 2024

pd/client/tso_dispatcher.go

Lines 413 to 415 in 1b8fc6a

for i := range traceRegions {
traceRegions[i].End()
}

Here Region.End should be called in reversed order, otherwise, it makes trace out broken.

2024-08-15_154136

@ti-chi-bot ti-chi-bot bot added the needs-type Indicates an issue requires a type label. label Aug 15, 2024
@zyguan
Copy link
Author

zyguan commented Aug 15, 2024

/type bug

@ti-chi-bot ti-chi-bot bot added type/bug The issue is confirmed as a bug. and removed needs-type Indicates an issue requires a type label. labels Aug 15, 2024
zyguan added a commit to zyguan/pd that referenced this issue Sep 4, 2024
Signed-off-by: zyguan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Need Triage
Development

No branches or pull requests

2 participants