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

   Classification: A / Zeta deployment-attempt operation fencing.
   
   The report identifies a real ownership gap in current `dev`: workers resolve 
these operations by `TaskGroupLocation`, while `TaskGroupContext` already 
distinguishes a particular deployment with `executionId`. There is no exact PR 
for this issue.
   
   The direction to fence the five operations with the expected execution id is 
appropriate, but it needs one explicit protocol before a PR is opened:
   
   1. The active master must obtain the expected id from the authoritative 
deployment record, and the worker must compare it before any task lookup, 
restore, start, checkpoint completion, or checkpoint end side effect.
   2. A known id mismatch is a terminal stale-operation no-op, never a retry 
that can reach a later deployment. A missing context may retry only while the 
dispatch still targets the same expected id; it must fail once that attempt is 
no longer authoritative.
   3. The serialized operation change needs an upgrade/compatibility statement. 
A master/worker version skew must not make an old operation act on a new 
deployment or silently treat an absent id as a match.
   4. The regression must inject every one of the five operation types from a 
cancelled attempt after a replacement attempt occupies the same location, and 
assert no start, restore, checkpoint completion, checkpoint end, or barrier 
side effect reaches the replacement. Include the missing-context retry and 
master-failover paths.
   
   Please post that wire/ownership contract and test outline here first. Then a 
focused Zeta PR can be evaluated without widening the change to unrelated task 
operations.
   


-- 
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