quantum-elixir / quantum-elixir/quantum-core

Problem: Job redo Option

Open
#314 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

advanced enhancement idea
Dominant language
Elixir
Stars
2.4k
Forks
154
Avg merge
2h 22m
Merged PRs (30d)
3

Description

This is a follow up for #240

Jobs should have the option to configure how to handle a downtime of the scheduler.

  1. transient jobs that do not need redo-ing even if their execution was skipped
  2. permanent jobs that would like to get executed once after the period of scheduler being down (no matter how many cycles they have missed). Like backup jobs.
  3. permanent_consecutive - (a better name is more than appreciated) that need to be redone exact the number of times they were not executed. I can imagine like jobs incrementing some counters. I believe I would be able to come up with a real-world scenario, but I need some thinking to come up with it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced issue #240 and tracing how the scheduler handles jobs after downtime. Clarify the configuration and expected behavior for transient, permanent, and permanent_consecutive jobs, including the naming question; the work is done when these semantics are specified and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.