DanielLeens commented on issue #13346:
URL: https://github.com/apache/seatunnel/issues/13346#issuecomment-7008671355

   Classification: A / Zeta fixed-slot ownership and failover recovery.
   
   I rechecked current `dev` at `1d0e6509a0aba3e34219a1a7ae370913f0150b2a`. The 
report identifies a real architectural boundary: job-level pre-apply records 
futures in the physical plan, while durable pipeline ownership is established 
later; release paths rely on the owned-slot mapping. The current source also 
still pre-applies all physical/coordinator vertices and has terminal paths that 
need a clear ownership/release contract. This is source evidence, not yet proof 
of every claimed production failure mode.
   
   Please do not turn #13344 through #13352 into independent help-wanted 
patches. They overlap on one root contract: allocation identity, persistence, 
consumption, release, and reconciliation across cancellation, retry, and master 
failover. In particular, a local change to heartbeat selection or a single 
cancellation branch cannot prove that a lost response, an overwritten pre-apply 
future, and a restored owner map release each slot exactly once.
   
   The next useful artifact is one design note, anchored on this issue, that 
defines: (1) a stable allocation identity and durable owner before a slot can 
become unrecoverable; (2) idempotent request/release and response-loss 
handling; (3) which pre-applied slots are consumed, retained, or released on 
every terminal and failover path; and (4) the reconciliation owner and safety 
rules after a master change. It needs a fixed-slot integration matrix with 
cancellation during pre-apply, rejected admission, master failover, retry, and 
an injected response loss, asserting both worker slot counts and subsequent-job 
admission. Once that contract is agreed, split implementation PRs by that 
design boundary rather than by individual symptom. No label or assignment 
change is being made here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to