-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
If a TTL job is cancelled, the last_job_finish_time
is incorrect.
#58109
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Comments
YangKeao
added
type/bug
The issue is confirmed as a bug.
sig/sql-infra
SIG: SQL Infra
severity/moderate
labels
Dec 9, 2024
5 tasks
I'll construct a case to reproduce it with real scenario (but not reading codes only). |
I reproduced it:
The correct |
5 tasks
5 tasks
YangKeao
added
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
labels
Jan 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
The first assert
intest.Assert(se.GetSessionVars().Location().String() == now.Location().String())
injob.finish
is never true whenjob.finish
is called fromrescheduleJobs
(but our tests didn't cover it yet). It's because inrescheduleJobs
thenow
is inGlobalTimeZone
(Asia/Shanghai
in my case), and these.GetSessionVars().Location().String()
is alwaysUTC
.It'll not be a big issue as the job is scheduled according to the start time, but the wrong finish time is still confusing for users.
The text was updated successfully, but these errors were encountered: