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

Creating new Recurring Tasks only happens on second release #2551

Closed
1 of 4 tasks
matthewelwell opened this issue Jul 31, 2023 · 0 comments · Fixed by #3169
Closed
1 of 4 tasks

Creating new Recurring Tasks only happens on second release #2551

matthewelwell opened this issue Jul 31, 2023 · 0 comments · Fixed by #3169
Assignees
Labels
bug Something isn't working

Comments

@matthewelwell
Copy link
Contributor

Describe the bug

When a new recurring task is added to the application, it will not be created on the first deployment that occurs. This is because, during the canary deployment, the new tasks will create the task in the database on startup, but the existing task processor units will delete it as it doesn't exist in their registry.

See relevant code here.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new Recurring Task.
  2. Deploy the application to ECS.
  3. Notice that the new task does not exist in the task_processor_recurringtask table.

Expected behavior

The recurring task is created in the database by the new deployment.

Screenshots

N/a

How are you running Flagsmith?

  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way

Additional context

N/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants