SEZ9 commented on PR #13136: URL: https://github.com/apache/seatunnel/pull/13136#issuecomment-7203558878
@LuckysHorizon thanks for the full response, and no problem about the earlier comment. Understood that the rework is now at 2801b15 and that my 718f00b8 review is out of date. I'll re-review against 2801b15 rather than settle anything from the description alone. **The two blocking points** You describe reverting the reorder so that `getJobInfo()` keeps the history-first lookup, with the fix now local to `RealtimeMetricsService.resolveObservabilityConfig()`. If the diff at 2801b15 confirms that, both points would be resolved: - **Attempt ownership in `getJobInfo()`**: no ownership check would be needed, because the realtime path no longer depends on it. - **Finished jobs during `state-cleanup-delay-ms`**: a finished job would again return its archived DAG with worker addresses, and the misleading comment would be gone with the code. The question of documenting a client-visible `getJobInfo()` change would also fall away. **The remaining points** I'll check these against 2801b15 as well: 1. **Doc note**: whether it names `enabled`, `bucket_ms` and `retention_minutes` as the settings that follow the current attempt, and says that changing `bucket_ms` or `retention_minutes` on restore restarts the in-memory realtime window. 2. **`testGetJobInfoReturnsHistoryWhenDistributedAndCurrentAttemptsMatch`**: whether it asserts which DAG was returned. 3. **Restore IT regression coverage**: whether the IT fails without the fix. 4. **`awaitAllTasksReady`**: whether it uses the public `CheckpointManager.getCheckpointCoordinator(pipelineId)` instead of reflection on `coordinatorMap`, and a descriptive assertion instead of the bare `orElseThrow()`. 5. **IT cleanup**: whether the started jobs are cancelled and the temp files are created inside the `try`. I'll follow up once I've gone through the new head. <!-- streview-comment:2626 --> -- 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]
