-
Notifications
You must be signed in to change notification settings - Fork 9
fix(storage): Stop updating start timestamp on job, task instance, and scheduler lease table change (fixes #145). #151
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe changes remove the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant MySQL
participant Table
Client->>MySQL: INSERT INTO jobs/task_instances/scheduler_leases
MySQL->>Table: Set TIMESTAMP column to CURRENT_TIMESTAMP
Client->>MySQL: UPDATE jobs/task_instances/scheduler_leases
MySQL->>Table: TIMESTAMP column remains unchanged
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (6)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
davidlion
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but please update the title to follow the guidelines:
https://www.notion.so/yscope/WIP-Contribution-Guidelines-4073935a066a4095aa45a6755daf6fa6?source=copy_link#7a2271306db844b8b072c55a4e8ddf88
Also, why is GitHub workflows pass. not checked?
Description
Spidersets MySQL tables for jobs, task instance and schedulers start timestampON UPDATE CURRENT_TIMESTAMP, which changes the timestamp every time the table is updated, making it an update timestamp instead.This pr solves this issue by removing the
ON UPDATE CURRENT_TIMESTAMP.Checklist
breaking change.
Validation performed
Summary by CodeRabbit