SEZ9 commented on PR #13136: URL: https://github.com/apache/seatunnel/pull/13136#issuecomment-7175829346
@LuckysHorizon thanks for the ping. The comment that mentioned me contains only a quote of my review summary for `718f00b8d260`, and it is cut off at "`isCleanu`". I don't see a question or a reply of your own after the quote, so there is nothing I can answer yet. If you meant to add a response, could you repost it? Nothing in this thread shows a change since that review, so the earlier points are all still open on my side. **Blocking** - **Attempt ownership in `getJobInfo()`:** the reorder is unconditional, so a finished attempt's retained `JobInfo` in `runningJobInfoIMap` shadows its own archived history. The distributed-`JobInfo` branch needs a check that the entry belongs to the current attempt. - **Finished jobs during `state-cleanup-delay-ms`:** in that window they get a rebuilt DAG with an empty execution-address history and the current master address, instead of the archived one. The new code comment that calls this DAG equivalent to history also needs correcting. **Docs** - The note should name the settings that follow the current attempt. - It should also say that changing `bucket_ms` or `retention_minutes` on restore restarts the in-memory realtime window. **Tests** - `testGetJobInfoReturnsHistoryWhenDistributedAndCurrentAttemptsMatch` should assert which DAG was actually returned. - The restore IT should be able to fail under the old history-first order. Today the archived attempt-1 DAG expires inside the await windows, so the old order passes too. - `awaitAllTasksReady` should use the public `CheckpointManager.getCheckpointCoordinator(pipelineId)` instead of reflection on `coordinatorMap`. - Its bare `orElseThrow()` calls should become a descriptive assertion, as in the `isAllTaskReady(CheckpointCoordinator)` helper in `SavepointPreconditionRecoveryIT`. - The restore IT should cancel the jobs it starts and create its temp files inside the `try`. What I need from you is which of these you have addressed or disagree with, and how you plan to tell the restored attempt apart from a finished one in `getJobInfo()`. The doc wording depends on that last answer. <!-- streview-comment:2608 --> -- 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]
