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

   Thanks for the update. This is a follow-up on the earlier review points 
only, checked against what the thread says about 
`eecf96471223e2abed861f4c5b83cd2676df6273`. The latest pass does not say 
whether each one was addressed, so please confirm or point me to the change for 
each.
   
   - **Coordinator executor wording (Docs, medium):** The trigger body, 
including the watchdog arming, is submitted to the coordinator executor, and 
the latest pass notes that barrier and finalization work still runs there. Has 
the `SharedCheckpointScheduler` Javadoc and the PR description been updated so 
they no longer say checkpoint work is never dispatched onto that executor?
   
   - **`scheduler` field visibility (Robustness, low):** In 
`CheckpointCoordinator`, `scheduler` is reassigned under `lock` but read 
without it and is not volatile. Please make it `volatile` or read it under 
`lock`. Also, `schedule()` on a closed lease returns a cancelled future with no 
log; please add a log line, or say why staying silent is intended.
   
   - **"Reuses the lease" wording (Docs, low):** The latest pass confirms that 
reset creates a fresh lease. Does the PR description still say master failover 
"reuses the lease"? If so, please update it to match.
   
   - **`cancelAll()` visibility (Style, low):** In 
`PipelineCheckpointScheduler`, `cancelAll()` is public and documented as 
leaving the lease reusable, but production only reaches it through `close()`. 
Its trailing `outstanding.clear()` is also unsafe for a direct caller. Please 
either narrow its visibility or fold it into `close()`, or else make it safe to 
call directly and fix the Javadoc.
   
   - **`getTimerPoolSize()` visibility (Style, low):** It is public although 
documented as test-only, while `getDispatcherPoolSize()` is package-private. 
Please make the two consistent.
   
   - **Failover IT assertion (Test, low):** The IT only asserts the lease's 
`closed` flag, so it no longer proves that nothing stays armed for the 
cancelled pipeline. The latest pass mentions new scheduler tests for lease 
boundaries and sibling isolation, but I can't tell whether they cover this. 
Could you add an assertion that no task stays armed after the cancel, or point 
to the test that already does it?
   
   The medium docs item is the one I'd most like settled; the rest are small.
   
   <!-- streview-comment:2801 -->


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