Hi SeaTunnel community,

I would like to start a discussion for STIP-43:

https://github.com/apache/seatunnel/issues/12985

The proposal addresses fixed-slot Zeta clusters configured with:

- dynamic-slot: false
- job-schedule-strategy: WAIT

Today, a temporarily blocked job at the head of the pending queue
prevents later jobs from being considered. For example, if Job A needs
10 slots but only 3 are currently free, a later Job B requiring 1 slot
remains pending even though it could run safely. Conversely, if Job A
can never fit into the eligible static capacity, WAIT may retry it
indefinitely.

STIP-43 proposes to:

1. Distinguish temporarily unavailable resources from permanently
unschedulable requests.
2. Preserve current strict FIFO behavior as the default.
3. Add an opt-in bounded-backfill policy for fixed slots.
4. Allow runnable later jobs to proceed in enqueue order while the
head job is blocked.
5. Activate an aging gate after a bounded number of bypasses or wait
time, preventing further backfill until the head job is admitted,
cancelled, or classified as unschedulable.

The proposal does not cover dynamic slots, autoscaling, running-job
rescaling, or user-defined priorities.

It is designed to work with #12119, which defines the durable
admission record and queued JobMaster lifecycle. STIP-43 focuses on
the admission-order and starvation-prevention policy after the
resource demand is known.

I would especially appreciate feedback on:

- whether FIFO should remain the default;
- the bounded-backfill and aging-gate semantics;
- how permanent unschedulability should be classified for
heterogeneous resource profiles and worker tags;
- the durable state and master-failover requirements.

Thanks in advance for your feedback.



Best Regards,
David
Linkedin: https://www.linkedin.com/in/davidzollo

Reply via email to