SEZ9 commented on PR #12165: URL: https://github.com/apache/seatunnel/pull/12165#issuecomment-7230203275
Thanks for the update. Here is where the earlier follow-up points stand on `1afaaab62d`. None of them are resolved yet, and nothing new is being added. - **`SharedCheckpointScheduler` Javadoc and PR description:** the latest status round does not say whether this was updated. Could you confirm whether they still state that checkpoint work is never dispatched onto the coordinator executor? If they do, please reword them, since the trigger body and the watchdog arming are now submitted to that executor. - **`scheduler` field and closed-lease `schedule()`:** not fixed, kept as a hardening suggestion. The field at `CheckpointCoordinator:170` is still non-volatile although it is reassigned under `lock` and read without it. `PipelineCheckpointScheduler.schedule:73-77` still returns a cancelled future quietly after shutdown. Please make the field `volatile` (or read it under the lock) and add a log line for the closed-lease case. - **Failover wording:** the description body now correctly describes close plus a fresh lease on RESET, but the section heading still says "Master failover reuses the lease." Please align the heading with `cleanPendingCheckpoint:1378-1380`. - **`cancelAll()`:** still public and documented as leaving the lease reusable, while production only reaches it through `close()`. This is API hardening, not a claim that the current close path leaks. Please either narrow its visibility or document the contract, including that the trailing `outstanding.clear()` is not safe for a direct caller. - **`getTimerPoolSize()`:** still public although it is documented as test-only. Please make it package-private to match `getDispatcherPoolSize()`. - **Failover IT:** still a coverage suggestion. Asserting only the `closed` flag does not prove that nothing stays armed for the cancelled pipeline. Please also assert that the outstanding tasks are settled, ideally with an owner/generation check. If you would rather leave any of the hardening or style items as they are, a short note on the reasoning is fine. <!-- streview-comment:2673 --> -- 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]
