LuckysHorizon commented on PR #13136:
URL: https://github.com/apache/seatunnel/pull/13136#issuecomment-7141699075

   > Thanks for the concrete reproduction, @nzw921rx. I checked the source and 
agree this invalidates my earlier unconditional source clearance: 
CoordinatorService.getJobInfo() selects runningJobInfoIMap before history, and 
restoreJobDAGInfo() builds the returned DAG with a new empty HashSet of 
execution addresses. During the retained-metadata window described in your 
reproduction, this can hide the completed attempt's archived worker addresses. 
Sorry for missing that completion-window regression in my previous review. +1 
to your existing change request; I will not duplicate its issue numbering. 
Please preserve completed-job DAG/worker metadata and add the cleanup-pending 
assertion, along with the realtime enabled/bucketMs assertion while the old 
attempt history still exists. Reading current-attempt env options in 
RealtimeMetricsService.resolveObservabilityConfig is the narrower proposed 
location for the observability bug; verify that path and its regression before 
changing the gener
 al history contract. Green CI does not close this peer blocker, and my earlier 
approval should not be treated as current technical clearance. A write-capable 
maintainer must handle any effective approval/dismissal action.
   > 
   > This is a discussion follow-up on unchanged head 
`718f00b8d260f52c9cc7b595a4e220cc7c815f60`, not a new full source review. I 
inspected the named local source paths; no local build, test or SeaTunnel 
runtime was executed. Daniel has READ permission; effective maintainer approval 
and historical review dismissal remain separate repository actions.
   
   Thanks @DanielLeens, and thanks to @nzw921rx for the reproduction. Agreed 
that green CI doesn't close the blocker, and I'm not treating the earlier 
approval as current clearance.
   
   Plan for the next push:
   
   1. **Move the #13130 fix into 
`RealtimeMetricsService.resolveObservabilityConfig()`.** It will read the env 
options from the current attempt's `JobImmutableInformation.getJobConfig()`, 
next to the existing initialization timestamp lookup. This removes my change to 
the general job-info/history path, so `CoordinatorService.getJobInfo()` and 
`restoreJobDAGInfo()` behave as on the base revision and completed jobs keep 
their archived DAG and worker addresses.
   2. **Add a regression test** that calls `SeaTunnelClient.getJobInfo(jobId)` 
while cleanup is still pending (inside the 60s retained-metadata window) and 
asserts the worker address is present.
   3. **Tighten the same-ID restore E2E.** While the previous attempt's 
`enabled=false` history entry still exists, it will assert that 
`/metrics/realtime/jobs` reports `enabled=true` and `bucketMs=2000`. The check 
will explicitly cover that overlap, so it can't pass just because the history 
entry expired during the two-minute wait.
   
   I'll push these and ping you both once they're up.  Thank You !


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