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

   Thanks for the point-by-point status on cca9cf4. I have not checked these 
points against the diff, so I am treating them as described in your status 
rather than as resolved.
   
   **As described in the status (not yet confirmed)**
   - **In-flight row vs. close:** `closeTable` is said to take the same 
runnable monitor as the poll/write section before removing or closing writers, 
with `testCloseTableEventAllowsInFlightRowsUntilFinalSnapshot` as the 
regression test.
   - **Close-event accounting and straggler events:** `closedTableIds` is said 
to be checked before aggregation, and close is said to clean both maps, with 
`testStragglerCloseEventAfterCloseDoesNotLeakAggregationState` asserting no 
repopulation.
   - **Events without source metadata:** a null or negative source identity, or 
a missing or non-positive expected count, is said to return without authorizing 
close, covered by 
`testUnattributedCloseEventDoesNotShortCircuitActiveAggregation`.
   - **Late rows for a closed table:** the write path is said to distinguish 
`CONTINUE_OTHER_TABLES` (log and drop for that table) from `FAIL_FAST` 
(table-context `IOException`).
   
   **Questions on these points**
   1. **Drain wait in `snapshotState`:** you note that the table-specific wait 
has a 300-second deadline, but the shared `checkQueueRemain` drain still has no 
overall deadline, so the checkpoint path is not bounded end to end. Do you 
intend to bound that drain in this PR, or leave it as pre-existing behavior? If 
you leave it, please say so explicitly in the PR.
   2. **Final commit for transactional writers:** is there a test asserting 
that a writer whose `supportsCloseAfterSnapshot` is false is not retired when a 
close event arrives? The status does not name one, so please point to it or add 
one.
   3. **Aggregation NPE:** the status closes this on the premise that sink 
events and snapshots are serialized on the task owner and that queue workers do 
not remove from those maps. Is that premise documented or asserted anywhere in 
the code?
   4. **Late rows:** `testCloseTableWriteContinuesOtherTablesInsteadOfThrowing` 
covers `CONTINUE_OTHER_TABLES`. Is there a test for the `FAIL_FAST` path?
   
   This reply covers only the earlier findings. The items you list as still 
required (Issue5's real protocol/state acceptance assertions and the 
SPI/upgrade documentation), optional Issues 7/8 and the CI reruns you mention 
are unchanged by it.
   
   <!-- streview-comment:2599 -->


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