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

[BUG] [Flytescheduler] Fixed rate scheduler doesn't respect the initial startTime after a restart #2885

Closed
2 tasks done
pmahindrakar-oss opened this issue Sep 15, 2022 · 0 comments · Fixed by flyteorg/flyteadmin#476
Assignees
Labels
bug Something isn't working flyteadmin Issue for FlyteAdmin Service
Milestone

Comments

@pmahindrakar-oss
Copy link
Contributor

pmahindrakar-oss commented Sep 15, 2022

Describe the bug

Fixed rate scheduler allows to schedule flyte executions at defined regular intervals.
Rates supported are hour, day and minutes.

When scheduler starts and its given a fixed rate schedule then it uses the current time to schedule new executions at an interval provided by fixed rate

In case the scheduler restarts , it should use the last known time stamp of the execution if available from the snapshot or use the updatedAt time to start the new fixed rate schedule.

Expected behavior

Fixed rate scheduler should schedule new executions using the last know executions time or using the updatedAt timestamp of the schedule

Additional context to reproduce

No response

Screenshots

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@pmahindrakar-oss pmahindrakar-oss added bug Something isn't working untriaged This issues has not yet been looked at by the Maintainers labels Sep 15, 2022
@pmahindrakar-oss pmahindrakar-oss added this to the 1.2.0 milestone Sep 15, 2022
@pmahindrakar-oss pmahindrakar-oss self-assigned this Sep 15, 2022
@pmahindrakar-oss pmahindrakar-oss added flyteadmin Issue for FlyteAdmin Service and removed untriaged This issues has not yet been looked at by the Maintainers labels Sep 15, 2022
@eapolinario eapolinario modified the milestones: 1.2.0, 1.3.0 Oct 3, 2022
@cosmicBboy cosmicBboy modified the milestones: 1.3.0, 2023 Q1 Backlog Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flyteadmin Issue for FlyteAdmin Service
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants