SEZ9 commented on PR #11856:
URL: https://github.com/apache/seatunnel/pull/11856#issuecomment-7263811657

   Thanks for the updates. Here is where the earlier points stand on head 
`fdf9fb8cd00700fa191bd8ec39a07348dd514c3e`, based on a static read only, with 
no build, test or runtime executed.
   
   **Addressed in the source**
   - **Message classification / duplicated template:** a text match alone no 
longer grants WARN. `PhysicalVertex.recordMemberRemovedFailure` derives the 
boolean from the marker predicate, `shouldLogFailureAsWarn` consumes that 
boolean, and `CoordinatorService.buildMemberRemovedOfflineMessage` is the 
single owner of the offline message, so the format-string/regex pair is gone.
   - **Docs:** `docs/en/engines/zeta/state-storage-and-recovery.md` and its zh 
counterpart now cover `engine_gracefulMemberRemoval`, the intentional 
shutdown/crash exclusions, the five-minute TTL and the WARN/ERROR behavior.
   - **Marker eviction:** native IMap TTL now removes the entry, which covers 
the stale-entry leak.
   
   **Still open**
   1. **Marker publication during real shutdown:** the new lifecycle IT 
observes the marker being published during an actual node shutdown, but it does 
not assert the terminal log of a live deployed task. Could you add that 
assertion or post logs from a run showing WARN for a graceful shutdown with a 
running task and ERROR for kill -9? The ordering argument from the dependency 
source is not a substitute for a run.
   2. **Clock dependency:** 
`CoordinatorService.isGracefulMemberRemovalMarkerValid` still compares the 
writer timestamp with the reader's wall clock against five minutes, so it 
relies on cross-node clock agreement. Skew fails safe by keeping ERROR, but now 
that native TTL exists, is the timestamp check still needed? If you keep it, is 
the clock assumption stated in the new docs section?
   3. **Marker consumed before failure processing:** the latest round does not 
cover this. How does the current head behave if the master fails over after the 
marker is consumed but before task-failure processing finishes?
   4. **Throwable and error payload on the graceful path:** also not covered. 
Does `TaskExecutionState` still carry the `JobException` on the graceful path, 
and is the error shown in job history and the REST error fields unchanged? If 
it now carries a plain string, please either restore the throwable or call the 
change out explicitly.
   
   Once the run evidence for item 1 and answers to items 2–4 are in, I'll take 
another look.
   
   <!-- streview-comment:2731 -->


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